Search in sources :

Example 1 with MorfologikAustralianSpellerRule

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

the class AustralianEnglish method getRelevantRules.

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

Aggregations

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