org.carrot2.text.linguistic
Class IdentityStemmer

java.lang.Object
  extended by org.carrot2.text.linguistic.IdentityStemmer
All Implemented Interfaces:
IStemmer

public final class IdentityStemmer
extends Object
implements IStemmer

An implementation of IStemmer that always returns null from stem(CharSequence).


Constructor Summary
IdentityStemmer()
           
 
Method Summary
 CharSequence stem(CharSequence word)
          Returns the base form of the provided word or null if the base form cannot be determined.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityStemmer

public IdentityStemmer()
Method Detail

stem

public CharSequence stem(CharSequence word)
Description copied from interface: IStemmer
Returns the base form of the provided word or null if the base form cannot be determined. In the latter case, the base form will be assumed to be the same as the original word.

Specified by:
stem in interface IStemmer


Copyright (c) Dawid Weiss, Stanislaw Osinski