Package org.languagetool.language

Examples of org.languagetool.language.Dutch


  private GenericUnpairedBracketsRule rule;
  private JLanguageTool langTool;
 
  public void testDutchRule() throws IOException {
    setUpRule(new Dutch());
    // correct sentences:
    assertMatches("Het centrale probleem van het werk is de ‘dichterlijke kuischheid’.", 0);
    //this was a bug as there are several pairs that start with the same char:
    assertMatches(" Eurlings: “De gegevens van de dienst zijn van cruciaal belang voor de veiligheid van de luchtvaart en de scheepvaart”.", 0);
    assertMatches(" Eurlings: \u201eDe gegevens van de dienst zijn van cruciaal belang voor de veiligheid van de luchtvaart en de scheepvaart\u201d.", 0);
View Full Code Here


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

TOP

Related Classes of org.languagetool.language.Dutch

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.