Package morfologik.stemming.polish
Class PolishStemmer
- java.lang.Object
-
- morfologik.stemming.polish.PolishStemmer
-
-
Constructor Summary
Constructors Constructor Description PolishStemmer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dictionary
getDictionary()
Iterator<WordData>
iterator()
Iterates over all dictionary forms stored in this stemmer.List<WordData>
lookup(CharSequence word)
Returns a list ofWordData
entries for a given word.
-
-
-
Method Detail
-
getDictionary
public Dictionary getDictionary()
- Returns:
- Return the underlying
Dictionary
driving the stemmer.
-
lookup
public List<WordData> lookup(CharSequence word)
Returns a list ofWordData
entries for a given word. The returned list is nevernull
. Depending on the stemmer's implementation theWordData
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.
-
-