Package org.languagetool.language

Examples of org.languagetool.language.SouthAfricanEnglish


public class MorfologikSouthAfricanSpellerRuleTest {

  @Test
  public void testMorfologikSpeller() throws IOException {
    final SouthAfricanEnglish language = new SouthAfricanEnglish();
    final MorfologikSouthAfricanSpellerRule rule =
            new MorfologikSouthAfricanSpellerRule (TestTools.getMessages("English"), language);

    final JLanguageTool langTool = new JLanguageTool(language);
View Full Code Here


public class MorfologikSouthAfricanSpellerRuleTest extends AbstractEnglishSpellerRuleTest {

  @Test
  public void testSuggestions() throws IOException {
    Language language = new SouthAfricanEnglish();
    Rule rule = new MorfologikSouthAfricanSpellerRule(TestTools.getMessages("en"), language);
    super.testNonVariantSpecificSuggestions(rule, language);
  }
View Full Code Here

    super.testNonVariantSpecificSuggestions(rule, language);
  }

  @Test
  public void testMorfologikSpeller() throws IOException {
    final SouthAfricanEnglish language = new SouthAfricanEnglish();
    final MorfologikSouthAfricanSpellerRule rule =
            new MorfologikSouthAfricanSpellerRule (TestTools.getMessages("en"), language);

    final JLanguageTool langTool = new JLanguageTool(language);
View Full Code Here

import org.languagetool.language.SouthAfricanEnglish;

public class SouthAfricanEnglishConcurrencyTest extends AbstractLanguageConcurrencyTest {
  @Override
  protected Language createLanguage() {
    return new SouthAfricanEnglish();
  }
View Full Code Here

TOP

Related Classes of org.languagetool.language.SouthAfricanEnglish

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.