public interface MorphologicalProcessor
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.Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
lookupAllBaseForms(POS pos,
java.lang.String derivation)
Return all the base forms of derivation.
|
IndexWord |
lookupBaseForm(POS pos,
java.lang.String derivation)
Try to turn derivation into a word that is found in the index file for pos.
|
IndexWord lookupBaseForm(POS pos, java.lang.String derivation) throws JWNLException
pos
- part of speechderivation
- derivationJWNLException
- JWNLExceptionjava.util.List<java.lang.String> lookupAllBaseForms(POS pos, java.lang.String derivation) throws JWNLException
pos
- part of speechderivation
- derivationJWNLException
- JWNLException