Class EnglishContractionSpellingRule


public class EnglishContractionSpellingRule extends AbstractSimpleReplaceRule
A rule that matches words or phrases which should not be used and suggests correct ones instead, e.g. Hasnt instead of Hasn't. This was copied to Portuguese from English to help users with code-switching and improve tagging tokens with _english_ignore_.
Since:
2.5
Author:
Marcin MiƂkowski