lempinen.neatseeker.core
Class StemmerFactory

java.lang.Object
  |
  +--lempinen.neatseeker.core.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
StemmerFactory()
           
 
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

StemmerFactory

public StemmerFactory()
Method Detail

getStemmer

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