Package net.didion.jwnl.dictionary.morph
Class LookupExceptionsOperation
- java.lang.Object
-
- net.didion.jwnl.dictionary.morph.LookupExceptionsOperation
-
- All Implemented Interfaces:
Operation,Createable
public class LookupExceptionsOperation extends java.lang.Object implements Operation
Lookup the word in the exceptions file of the given part-of-speech.
-
-
Constructor Summary
Constructors Constructor Description LookupExceptionsOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectcreate(java.util.Map params)booleanexecute(POS pos, java.lang.String derivation, BaseFormSet form)Execute the operation.
-
-
-
Method Detail
-
create
public java.lang.Object create(java.util.Map params) throws JWNLException- Specified by:
createin interfaceCreateable- Throws:
JWNLException
-
execute
public boolean execute(POS pos, java.lang.String derivation, BaseFormSet form) throws JWNLException
Description copied from interface:OperationExecute the operation.- Specified by:
executein interfaceOperationform- 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
-
-