public interface LemmatizerRule
A lemmarizer rule specifies a string substitution pattern used as part of the process of reducing an elaborated morphological form to its base form (lemma).
java.lang.String apply(java.lang.String s, java.util.Set<java.lang.String> dictionary)
s
- String to which to apply rule.dictionary
- List of known words.java.lang.String apply(java.lang.String s)
s
- String to which to apply rule.