Package opennlp.tools.stemmer.snowball
Class SnowballStemmerFactory.ConfinedStemmer
java.lang.Object
opennlp.tools.stemmer.snowball.SnowballStemmerFactory.ConfinedStemmer
- All Implemented Interfaces:
Stemmer
- Enclosing class:
SnowballStemmerFactory
A plain, thread-confined stemmer that applies one Snowball engine directly; not thread-safe.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateConfinedStemmer(AbstractSnowballStemmer engine, int repeat) Creates a thread-confined stemmer over the given engine. -
Method Summary
-
Field Details
-
engine
-
repeat
private final int repeat
-
-
Constructor Details
-
ConfinedStemmer
Creates a thread-confined stemmer over the given engine.- Parameters:
engine- The Snowball engine to apply.repeat- How many times to apply the engine per word.
-
-
Method Details