Search in sources :

Example 1 with MorfologikAmericanSpellerRule

use of org.languagetool.rules.en.MorfologikAmericanSpellerRule in project languagetool by languagetool-org.

the class AmericanEnglish method getRelevantRules.

@Override
public List<Rule> getRelevantRules(ResourceBundle messages) throws IOException {
    List<Rule> rules = new ArrayList<>();
    rules.addAll(super.getRelevantRules(messages));
    rules.add(new MorfologikAmericanSpellerRule(messages, this));
    return rules;
}
Also used : ArrayList(java.util.ArrayList) MorfologikAmericanSpellerRule(org.languagetool.rules.en.MorfologikAmericanSpellerRule) Rule(org.languagetool.rules.Rule) MorfologikAmericanSpellerRule(org.languagetool.rules.en.MorfologikAmericanSpellerRule)

Aggregations

ArrayList (java.util.ArrayList)1 Rule (org.languagetool.rules.Rule)1 MorfologikAmericanSpellerRule (org.languagetool.rules.en.MorfologikAmericanSpellerRule)1