|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DictionaryDatabase
An object in a class that implements this interface is a broker or factory for objects that model WordNet lexical and semantic entities.
FileBackedDictionary
Method Summary | |
---|---|
java.lang.String |
lookupBaseForm(POS pos,
java.lang.String derivation)
Return the base form of an exceptional derivation, if an entry for it exists in the database. |
IndexWord |
lookupIndexWord(POS pos,
java.lang.String lemma)
Look up a word in the database. |
java.util.Enumeration |
searchIndexWords(POS pos,
java.lang.String substring)
Return an enumeration of all the IndexWords whose lemmas contain substring as a substring. |
java.util.Enumeration |
synsets(POS pos)
Return an enumeration over all the Synsets in the database. |
Method Detail |
---|
IndexWord lookupIndexWord(POS pos, java.lang.String lemma)
pos
- The part-of-speech.lemma
- The orthographic representation of the word.
null
if no such entry exists.java.lang.String lookupBaseForm(POS pos, java.lang.String derivation)
pos
- The part-of-speech.derivation
- The inflected form of the word.
java.util.Enumeration searchIndexWords(POS pos, java.lang.String substring)
pos
- The part-of-speech.
IndexWord
s.java.util.Enumeration synsets(POS pos)
pos
- The part-of-speech.
Synset
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |