Package net.didion.jwnl.dictionary.morph
Class LookupIndexWordOperation
- java.lang.Object
-
- net.didion.jwnl.dictionary.morph.LookupIndexWordOperation
-
- All Implemented Interfaces:
Operation
,Createable
public class LookupIndexWordOperation extends java.lang.Object implements Operation
-
-
Constructor Summary
Constructors Constructor Description LookupIndexWordOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
create(java.util.Map params)
boolean
execute(POS pos, java.lang.String lemma, BaseFormSet baseForms)
Execute the operation.
-
-
-
Method Detail
-
create
public java.lang.Object create(java.util.Map params) throws JWNLException
- Specified by:
create
in interfaceCreateable
- Throws:
JWNLException
-
execute
public boolean execute(POS pos, java.lang.String lemma, BaseFormSet baseForms) throws JWNLException
Description copied from interface:Operation
Execute the operation.- Specified by:
execute
in interfaceOperation
baseForms
- BaseFormSet to which all discovered base forms should be added.- Returns:
- true if at least one base form was discovered by the operation and added to baseForms.
- Throws:
JWNLException
-
-