Terrier IR Platform
2.2.1

uk.ac.gla.terrier.terms
Class SnowballStemmer

java.lang.Object
  extended by uk.ac.gla.terrier.terms.SnowballStemmer
All Implemented Interfaces:
TermPipeline
Direct Known Subclasses:
DanishSnowballStemmer, DutchSnowballStemmer, EnglishSnowballStemmer, FinnishSnowballStemmer, FrenchSnowballStemmer, GermanSnowballStemmer, HungarianSnowballStemmer, ItalianSnowballStemmer, NorwegianSnowballStemmer, PortugueseSnowballStemmer, RomanianSnowballStemmer, RussianSnowballStemmer, SpanishSnowballStemmer, SwedishSnowballStemmer, TurkishSnowballStemmer

public abstract class SnowballStemmer
extends java.lang.Object
implements TermPipeline

Version:
$Revision: 1.4 $
Author:
Craig Macdonald

Method Summary
 void processTerm(java.lang.String t)
          Stems the given term and passes onto the next object in the term pipeline.
 java.lang.String stem(java.lang.String term)
          Stems the given term and returns the stem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

processTerm

public void processTerm(java.lang.String t)
Stems the given term and passes onto the next object in the term pipeline.

Specified by:
processTerm in interface TermPipeline
Parameters:
t - String the term to stem.

stem

public java.lang.String stem(java.lang.String term)
Stems the given term and returns the stem

Parameters:
term - the term to be stemmed.
Returns:
the stemmed form of term

Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow