net.sf.extjwnl.dictionary.morph
Class LookupIndexWordOperation
java.lang.Object
net.sf.extjwnl.dictionary.morph.AbstractOperation
net.sf.extjwnl.dictionary.morph.LookupIndexWordOperation
- All Implemented Interfaces:
- Operation, Owned
public class LookupIndexWordOperation
- extends AbstractOperation
Looks up index words.
- Author:
- John Didion , Aliaksandr Autayeu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupIndexWordOperation
public LookupIndexWordOperation(Dictionary dictionary,
Map params)
execute
public boolean execute(POS pos,
String lemma,
BaseFormSet baseForms)
throws JWNLException
- Description copied from interface:
Operation
- Executes the operation.
- Parameters:
pos
- part of speechlemma
- lemmabaseForms
- 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.