Class StemmerFactory


public class StemmerFactory
extends java.lang.Object

A Factory that churns out Stemmers.

The static method getStemmer is used for requesting a suitable Stemmer from the factory.

Upon receiving a Configuration object, the factory determines the type of stemmer that it should create:

The default configuration file etc/NeatSeeker.properties shows how to configure different stemmers for the factory.

Constructor Summary
Method Summary
static Stemmer getStemmer(Configuration conf)
          Returns a Stemmer based on the Configuration object.
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait

Constructor Detail


public StemmerFactory()
Method Detail


public static Stemmer getStemmer(Configuration conf)
                          throws java.io.IOException
Returns a Stemmer based on the Configuration object.