Package org.languagetool.rules.en

Examples of org.languagetool.rules.en.BritishReplaceRule


  @Override
  public List<Rule> getRelevantRules(ResourceBundle messages) throws IOException {
    final List<Rule> rules = new ArrayList<>();
    rules.addAll(super.getRelevantRules(messages));
    // specific to British English:
    rules.add(new BritishReplaceRule(messages));
    rules.add(new MorfologikBritishSpellerRule(messages, this));
    return rules;
  }
View Full Code Here

TOP

Related Classes of org.languagetool.rules.en.BritishReplaceRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.