Package org.apache.lucene.analysis.no
Class NorwegianLightStemmer
- java.lang.Object
-
- org.apache.lucene.analysis.no.NorwegianLightStemmer
-
public class NorwegianLightStemmer extends java.lang.Object
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.
-
-
Constructor Summary
Constructors Constructor Description NorwegianLightStemmer(int flags)
Creates a new NorwegianLightStemmer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
stem(char[] s, int len)
-
-
-
Field Detail
-
BOKMAAL
public static final int BOKMAAL
Constant to remove Bokmål-specific endings- See Also:
- Constant Field Values
-
NYNORSK
public static final int NYNORSK
Constant to remove Nynorsk-specific endings- See Also:
- Constant Field Values
-
-