public interface IStemmer
| Modifier and Type | Method and Description |
|---|---|
java.util.List<WordData> |
lookup(java.lang.CharSequence word)
Returns a list of
WordData entries for a given word. |
java.util.List<WordData> lookup(java.lang.CharSequence word)
WordData entries for a given word. The returned
list is never null. Depending on the stemmer's
implementation the WordData may carry the stem and additional
information (tag) or just the stem.
The returned list and any object it contains are not usable after a subsequent call to this method. Any data that should be stored in between must be copied by the caller.
word - The word (typically inflected) to look up base forms for.WordData entries (possibly empty).Copyright © 2018. All rights reserved.