net.didion.jwnl.dictionary.morph
Class LookupExceptionsOperation

java.lang.Object
  extended bynet.didion.jwnl.dictionary.morph.LookupExceptionsOperation
All Implemented Interfaces:
Createable, Operation

public class LookupExceptionsOperation
extends java.lang.Object
implements Operation

Lookup the word in the exceptions file of the given part-of-speech.


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

Constructor Detail

LookupExceptionsOperation

public LookupExceptionsOperation()
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 derivation,
                       BaseFormSet form)
                throws JWNLException
Description copied from interface: Operation
Execute the operation.

Specified by:
execute in interface Operation
Parameters:
pos -
derivation -
form - 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



JWNL homepage.