net.didion.jwnl.dictionary.morph
Class LookupIndexWordOperation

java.lang.Object
  extended by net.didion.jwnl.dictionary.morph.LookupIndexWordOperation
All Implemented Interfaces:
Operation, Createable

public class LookupIndexWordOperation
extends java.lang.Object
implements Operation


Constructor Summary
LookupIndexWordOperation()
           
 
Method Summary
 java.lang.Object create(java.util.Map params)
           
 boolean execute(POS pos, java.lang.String lemma, BaseFormSet baseForms)
          Execute the operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupIndexWordOperation

public LookupIndexWordOperation()
Method Detail

create

public java.lang.Object create(java.util.Map params)
                        throws JWNLException
Specified by:
create in interface Createable
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 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