Search in sources :

Example 16 with WordTokenizer

use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.

the class PolishTaggerTest method setUp.

@Before
public void setUp() {
    tagger = new PolishTagger();
    tokenizer = new WordTokenizer();
}
Also used : WordTokenizer(org.languagetool.tokenizers.WordTokenizer) Before(org.junit.Before)

Example 17 with WordTokenizer

use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.

the class DutchTaggerTest method setUp.

@Before
public void setUp() {
    tagger = new DutchTagger();
    tokenizer = new WordTokenizer();
}
Also used : WordTokenizer(org.languagetool.tokenizers.WordTokenizer) Before(org.junit.Before)

Example 18 with WordTokenizer

use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.

the class ItalianTaggerTest method setUp.

@Before
public void setUp() {
    tagger = new ItalianTagger();
    tokenizer = new WordTokenizer();
}
Also used : WordTokenizer(org.languagetool.tokenizers.WordTokenizer) Before(org.junit.Before)

Aggregations

WordTokenizer (org.languagetool.tokenizers.WordTokenizer)18 Before (org.junit.Before)17 SRXSentenceTokenizer (org.languagetool.tokenizers.SRXSentenceTokenizer)3 XmlRuleDisambiguator (org.languagetool.tagging.disambiguation.rules.XmlRuleDisambiguator)2 DemoDisambiguator (org.languagetool.tagging.disambiguation.xx.DemoDisambiguator)2 FileInputStream (java.io.FileInputStream)1 English (org.languagetool.language.English)1 French (org.languagetool.language.French)1 Polish (org.languagetool.language.Polish)1 EnglishTagger (org.languagetool.tagging.en.EnglishTagger)1 FrenchTagger (org.languagetool.tagging.fr.FrenchTagger)1 PolishTagger (org.languagetool.tagging.pl.PolishTagger)1