|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MorphologicalProcessor
A MorphologicalProcessor
tries to turn the inflected form of a word or phrase into
the form that can be found in WordNet. For example, if one calls
lookupBaseForm(POS.VERB, "running"), the index word for "run" should be returned.
Method Summary | |
---|---|
List<String> |
lookupAllBaseForms(POS pos,
String derivation)
Return all the base forms of derivation. |
IndexWord |
lookupBaseForm(POS pos,
String derivation)
Try to turn derivation into a word that is found in the index file for pos. |
Method Detail |
---|
IndexWord lookupBaseForm(POS pos, String derivation) throws JWNLException
pos
- part of speechderivation
- derivation
JWNLException
- JWNLExceptionList<String> lookupAllBaseForms(POS pos, String derivation) throws JWNLException
pos
- part of speechderivation
- derivation
JWNLException
- JWNLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |