net.sf.extjwnl.dictionary.morph
Class LookupExceptionsOperation
java.lang.Object
net.sf.extjwnl.dictionary.morph.AbstractOperation
net.sf.extjwnl.dictionary.morph.LookupExceptionsOperation
- All Implemented Interfaces:
- Operation, Owned
public class LookupExceptionsOperation
- extends AbstractOperation
Looks up the word in the exceptions file of the given part-of-speech.
- Author:
- John Didion , Aliaksandr Autayeu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupExceptionsOperation
public LookupExceptionsOperation(Dictionary dictionary,
Map<String,Param> params)
throws JWNLException
- Throws:
JWNLException
execute
public boolean execute(POS pos,
String derivation,
BaseFormSet form)
throws JWNLException
- Description copied from interface:
Operation
- Executes the operation.
- Parameters:
pos
- part of speechderivation
- lemmaform
- 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
- JWNLException
Copyright © 2011. All Rights Reserved.