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.
|
create
IndexWord lookupBaseForm(POS pos, String derivation) throws JWNLException
JWNLException
List lookupAllBaseForms(POS pos, String derivation) throws JWNLException
JWNLException
Copyright © 2016. All rights reserved.