public class SuggestionReplacer
Applies the rule suggestions to a text, considering a mapping so the
suggestion can be applied to the original markup of a text.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public List<RuleMatchApplication> applySuggestionsToOriginalText(RuleMatch match)
Applies the suggestions from the rule to the original text. For rules that
have no suggestion, a pseudo-correction is generated that contains the same
text as before.