Interface Operation

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

public interface Operation extends Createable
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(POS pos, String lemma, BaseFormSet baseForms)
    Execute the operation.

    Methods inherited from interface net.didion.jwnl.util.factory.Createable

    create
  • Method Details

    • execute

      boolean execute(POS pos, String lemma, BaseFormSet baseForms) throws JWNLException
      Execute the operation.
      Parameters:
      pos -
      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