Class DefaultMorphologicalProcessor

java.lang.Object
net.didion.jwnl.dictionary.morph.DefaultMorphologicalProcessor
All Implemented Interfaces:
MorphologicalProcessor, Createable

public class DefaultMorphologicalProcessor extends Object implements MorphologicalProcessor
Default implementation of MorphologicalProcessor. This isn't a true morpological analyzer (it doesn't figure out all the characteristics of each word it processes). This is basically a stemmer that uses WordNet exception files instead of complex stemming rules. It also tries to be intelligent by removing delimiters and doing concatanation.
  • Field Details

    • CACHE_CAPACITY

      public static final String CACHE_CAPACITY
      Parameter that determines the size of the base form cache
      See Also:
    • OPERATIONS

      public static final String OPERATIONS
      Parameter that determines the operations this morphological processor will perform
      See Also:
    • DEFAULT_CACHE_CAPACITY

      private static final int DEFAULT_CACHE_CAPACITY
      See Also:
    • _lookupCache

      private Cache _lookupCache
    • _operations

      private Operation[] _operations
  • Constructor Details

    • DefaultMorphologicalProcessor

      public DefaultMorphologicalProcessor()
    • DefaultMorphologicalProcessor

      public DefaultMorphologicalProcessor(Operation[] operations)
    • DefaultMorphologicalProcessor

      public DefaultMorphologicalProcessor(Operation[] operations, int cacheCapacity)
  • Method Details