public interface MorphologicalProcessor extends Createable
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 |
|---|---|
List |
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.
|
createIndexWord lookupBaseForm(POS pos, String derivation) throws JWNLException
JWNLExceptionList lookupAllBaseForms(POS pos, String derivation) throws JWNLException
JWNLExceptionCopyright © 2019. All rights reserved.