Package org.languagetool.language

Examples of org.languagetool.language.CanadianEnglish


public class MorfologikCanadianSpellerRuleTest {

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

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


import org.languagetool.language.CanadianEnglish;

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

public class MorfologikCanadianSpellerRuleTest extends AbstractEnglishSpellerRuleTest{

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

    super.testNonVariantSpecificSuggestions(rule, language);
  }

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

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

TOP

Related Classes of org.languagetool.language.CanadianEnglish

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.