Class 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 Detail

      • CACHE_CAPACITY

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

        public static final String OPERATIONS
        Parameter that determines the operations this morphological processor will perform
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultMorphologicalProcessor

        public DefaultMorphologicalProcessor()
      • DefaultMorphologicalProcessor

        public DefaultMorphologicalProcessor​(Operation[] operations)
      • DefaultMorphologicalProcessor

        public DefaultMorphologicalProcessor​(Operation[] operations,
                                             int cacheCapacity)