Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object create​(java.util.Map params)  
      boolean execute​(POS pos, java.lang.String derivation, BaseFormSet form)
      Execute the operation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LookupExceptionsOperation

        public LookupExceptionsOperation()
    • Method Detail

      • execute

        public boolean execute​(POS pos,
                               java.lang.String derivation,
                               BaseFormSet form)
                        throws JWNLException
        Description copied from interface: Operation
        Execute the operation.
        Specified by:
        execute in interface Operation
        form - 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