use of org.languagetool.rules.en.BritishReplaceRule in project languagetool by languagetool-org.
the class BritishEnglish method getRelevantRules.
@Override
public List<Rule> getRelevantRules(ResourceBundle messages) throws IOException {
List<Rule> rules = new ArrayList<>();
rules.addAll(super.getRelevantRules(messages));
rules.add(new BritishReplaceRule(messages));
rules.add(new MorfologikBritishSpellerRule(messages, this));
return rules;
}
Aggregations