Examples of Esperanto


Examples of org.languagetool.language.Esperanto

public class EsperantoRuleDisambiguator extends AbstractRuleDisambiguator {

  @Override
  protected Language getLanguage() {
    return new Esperanto();
  }
View Full Code Here

Examples of org.languagetool.language.Esperanto

public class EsperantoTest {
 
  @Test
  public void test() throws IOException {
    Esperanto language = new Esperanto();
    assertThat(language.getCountries().length, is(0));
    JLanguageTool languageTool = new JLanguageTool(language);
    String input = "La Mondaj Ludoj de 2013 estis plur-sporta evento...";
    List<RuleMatch> ruleMatches = languageTool.check(input);
    assertThat(ruleMatches.size(), is(1));
    assertThat(ruleMatches.get(0).getRule().getId(), is("HUNSPELL_NO_SUGGEST_RULE"));
View Full Code Here

Examples of org.languagetool.language.Esperanto

import org.languagetool.language.Esperanto;

public class EsperantoConcurrencyTest extends AbstractLanguageConcurrencyTest {
  @Override
  protected Language createLanguage() {
    return new Esperanto();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.