Terrier IR Platform
2.2.1

uk.ac.gla.terrier.terms
Class WeakPorterStemmer

java.lang.Object
  extended by uk.ac.gla.terrier.terms.PorterStemmer
      extended by uk.ac.gla.terrier.terms.WeakPorterStemmer
All Implemented Interfaces:
TermPipeline

public class WeakPorterStemmer
extends PorterStemmer

An implementation of the Porter stemming algorithm that uses only the first step of the algorithm.

Version:
$Revision: 1.10 $
Author:
Craig Macdonald & Gianni Amati & Vassilis Plachouras

Field Summary
 
Fields inherited from class uk.ac.gla.terrier.terms.PorterStemmer
b
 
Constructor Summary
WeakPorterStemmer(TermPipeline next)
           
 
Method Summary
 java.lang.String stem(java.lang.String s)
          Returns the stem of a given term, after applying the first step of Porter's stemming algorithm.
 
Methods inherited from class uk.ac.gla.terrier.terms.PorterStemmer
main, processTerm
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakPorterStemmer

public WeakPorterStemmer(TermPipeline next)
Method Detail

stem

public java.lang.String stem(java.lang.String s)
Returns the stem of a given term, after applying the first step of Porter's stemming algorithm.

Overrides:
stem in class PorterStemmer
Parameters:
s - String the term to be stemmed.
Returns:
String the stem of a given term.

Terrier IR Platform
2.2.1

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