Search in sources :

Example 1 with PolishTagger

use of org.languagetool.tagging.pl.PolishTagger in project languagetool by languagetool-org.

the class PolishDisambiguationRuleTest method setUp.

@Before
public void setUp() {
    tagger = new PolishTagger();
    tokenizer = new WordTokenizer();
    sentenceTokenizer = new SRXSentenceTokenizer(new Polish());
    disambiguator = new MultiWordChunker("/pl/multiwords.txt");
}
Also used : PolishTagger(org.languagetool.tagging.pl.PolishTagger) Polish(org.languagetool.language.Polish) WordTokenizer(org.languagetool.tokenizers.WordTokenizer) SRXSentenceTokenizer(org.languagetool.tokenizers.SRXSentenceTokenizer) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 Polish (org.languagetool.language.Polish)1 PolishTagger (org.languagetool.tagging.pl.PolishTagger)1 SRXSentenceTokenizer (org.languagetool.tokenizers.SRXSentenceTokenizer)1 WordTokenizer (org.languagetool.tokenizers.WordTokenizer)1