net.sf.extjwnl.dictionary.morph
Interface Operation

All Superinterfaces:
Owned
All Known Implementing Classes:
AbstractDelegatingOperation, AbstractOperation, DetachSuffixesOperation, LookupExceptionsOperation, LookupIndexWordOperation, RemovePrepPhrasesOperation, TokenizerOperation

public interface Operation
extends Owned

Base class for morphological operations.

Author:
John Didion , Aliaksandr Autayeu

Method Summary
 boolean execute(POS pos, String lemma, BaseFormSet baseForms)
          Executes the operation.
 
Methods inherited from interface net.sf.extjwnl.util.factory.Owned
getDictionary, setDictionary
 

Method Detail

execute

boolean execute(POS pos,
                String lemma,
                BaseFormSet baseForms)
                throws JWNLException
Executes the operation.

Parameters:
pos - part of speech
lemma - lemma
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 - JWNLException


Copyright © 2011. All Rights Reserved.