datapreparation.stemming
Class NorwegianStemmer

java.lang.Object
  extended by datapreparation.stemming.NorwegianStemmer
All Implemented Interfaces:
Stemmer

public class NorwegianStemmer
extends java.lang.Object
implements Stemmer

A Norwegian stemmer class (based on Snowball stemming algorithm)

Author:
Kjell-Inge Skogstad and Trond Řivind Eriksen

Constructor Summary
NorwegianStemmer()
          An empty constructor to the class
 
Method Summary
 java.lang.String stem(java.lang.String s)
          A method that performs stemming on one word
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NorwegianStemmer

public NorwegianStemmer()
An empty constructor to the class

Method Detail

stem

public java.lang.String stem(java.lang.String s)
A method that performs stemming on one word

Specified by:
stem in interface Stemmer
Parameters:
s - The word to be stemmed
Returns:
s the stemmed word