use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.
the class FrenchRuleDisambiguatorTest method setUp.
@Before
public void setUp() throws IOException {
tagger = new FrenchTagger();
tokenizer = new WordTokenizer();
French language = new French();
sentenceTokenizer = new SRXSentenceTokenizer(language);
disambiguator = new XmlRuleDisambiguator(language);
disamb2 = new DemoDisambiguator();
}
use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.
the class EsperantoTaggerTest method setUp.
@Before
public void setUp() {
tagger = new EsperantoTagger();
tokenizer = new WordTokenizer();
}
use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.
the class AbstractRomanianTaggerTest method setUp.
@Before
public void setUp() {
tagger = createTagger();
tokenizer = new WordTokenizer();
}
use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.
the class PortugueseTaggerTest method setUp.
@Before
public void setUp() {
tagger = new PortugueseTagger();
tokenizer = new WordTokenizer();
}
use of org.languagetool.tokenizers.WordTokenizer in project languagetool by languagetool-org.
the class RussianTaggerTest method setUp.
@Before
public void setUp() {
tagger = new RussianTagger();
tokenizer = new WordTokenizer();
}
Aggregations