Package opennlp.tools.stemmer
Class CachingStemmer.ThreadState
java.lang.Object
opennlp.tools.stemmer.CachingStemmer.ThreadState
- Enclosing class:
CachingStemmer
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateThreadState(Stemmer delegate, int capacity) Creates the per-thread delegate and its access-ordered LRU cache. -
Method Summary
-
Field Details
-
delegate
-
cache
-
-
Constructor Details
-
ThreadState
Creates the per-thread delegate and its access-ordered LRU cache.- Parameters:
delegate- The stemmer minted for this thread.capacity- The maximum number of entries retained before eviction.
-