Search in sources :

Example 16 with Catalan

use of org.languagetool.language.Catalan in project languagetool by languagetool-org.

the class ComplexAdjectiveConcordanceRuleTest method setUp.

@Before
public void setUp() throws IOException {
    rule = new ComplexAdjectiveConcordanceRule(TestTools.getEnglishMessages());
    langTool = new JLanguageTool(new Catalan());
}
Also used : JLanguageTool(org.languagetool.JLanguageTool) Catalan(org.languagetool.language.Catalan) Before(org.junit.Before)

Aggregations

Catalan (org.languagetool.language.Catalan)16 JLanguageTool (org.languagetool.JLanguageTool)14 Before (org.junit.Before)9 Test (org.junit.Test)7 RuleMatch (org.languagetool.rules.RuleMatch)6 CatalanTagger (org.languagetool.tagging.ca.CatalanTagger)1 SRXSentenceTokenizer (org.languagetool.tokenizers.SRXSentenceTokenizer)1 CatalanWordTokenizer (org.languagetool.tokenizers.ca.CatalanWordTokenizer)1