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 Object
- implements Operation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupIndexWordOperation
public LookupIndexWordOperation()
create
public Object create(Map params)
throws JWNLException
- Specified by:
create in interface Createable
- Throws:
JWNLException
execute
public boolean execute(POS pos,
String lemma,
BaseFormSet baseForms)
throws JWNLException
- Description copied from interface:
Operation
- Execute the operation.
- Specified by:
execute in interface Operation
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
Copyright © 2011. All Rights Reserved.