|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The methods in this Interface must be propertly implemented to access the Wordnet database. This method was chosen to allow interaction between a local file or remote file system for database interaction.
FileBackedDictionary
Method Summary | |
java.lang.String |
lookupBaseForm(POS pos,
java.lang.String derivation)
Searches the base word (lemma) of the given string 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 |
public 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.public java.lang.String lookupBaseForm(POS pos, java.lang.String derivation)
pos
- The part-of-speech.derivation
- The inflected form of the word.
public java.util.Enumeration searchIndexWords(POS pos, java.lang.String substring)
pos
- The part-of-speech.
IndexWord
s.public 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 |