Package org.apache.lucene.analysis.no
Class NorwegianLightStemmer
java.lang.Object
org.apache.lucene.analysis.no.NorwegianLightStemmer
Light Stemmer for Norwegian.
Parts of this stemmer is adapted from SwedishLightStemFilter, except that while the Swedish one has a pre-defined rule set and a corresponding corpus to validate against whereas the Norwegian one is hand crafted.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
BOKMAAL
public static final int BOKMAALConstant to remove Bokmål-specific endings- See Also:
-
NYNORSK
public static final int NYNORSKConstant to remove Nynorsk-specific endings- See Also:
-
-
Constructor Details
-
Method Details
-
stem
public int stem(char[] s, int len)
-