public interface IStemmer
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findStems(String surfaceForm,
POS pos)
Takes the surface form of a word, as it appears in the text, and the
assigned Wordnet part of speech.
|
List<String> findStems(String surfaceForm, POS pos)
null, which means that all parts of speech should be
considered. Returns a list of stems, in preferred order. No stem should
be repeated in the list. If no stems are found, this call returns an
empty list. It will never return null.surfaceForm - the surface form of which to find the stempos - the part of speech to find stems for; if null,
find stems for all parts of speechNullPointerException - if the specified surface form is nullIllegalArgumentException - if the specified surface form is empty or all whitespaceCopyright © 2018. All rights reserved.