Package org.languagetool.language

Examples of org.languagetool.language.NewZealandEnglish


public class MorfologikNewZealandSpellerRuleTest {

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

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


  @Override
  protected void setUp() throws Exception {
    super.setUp();
    rule = new NewZealandReplaceRule(TestTools.getMessages("en"));
    langTool = new JLanguageTool(new NewZealandEnglish());
  }
View Full Code Here

import org.languagetool.language.NewZealandEnglish;

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

public class MorfologikNewZealandSpellerRuleTest extends AbstractEnglishSpellerRuleTest {

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

    super.testNonVariantSpecificSuggestions(rule, language);
  }

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

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

TOP

Related Classes of org.languagetool.language.NewZealandEnglish

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.