public interface WordRule
Original code written by Tom White under the Apache v2 license. Modified by Philip R. Burns for integration into MorphAdorner.
boolean applies(java.lang.String word)
word
- The word that is being testedtrue
if this rule should be applied,
false
otherwisejava.lang.String apply(java.lang.String word)
word
- The word to which to apply this rule.