public class LookupIndexWordOperation extends AbstractOperation
dictionary
Constructor and Description |
---|
LookupIndexWordOperation(Dictionary dictionary,
java.util.Map params) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(POS pos,
java.lang.String lemma,
BaseFormSet baseForms)
Executes the operation.
|
getDictionary, setDictionary
public LookupIndexWordOperation(Dictionary dictionary, java.util.Map params)
public boolean execute(POS pos, java.lang.String lemma, BaseFormSet baseForms) throws JWNLException
Operation
pos
- part of speechlemma
- lemmabaseForms
- BaseFormSet to which all discovered base forms should
be added.JWNLException
- JWNLException