public void testChunker() throws Exception {
    JLanguageTool lt = new JLanguageTool(new Ukrainian());
    AnalyzedSentence analyzedSentence = lt.getAnalyzedSentence("Для  годиться.");
    AnalyzedSentence disambiguated = chunker.disambiguate(analyzedSentence);
    AnalyzedTokenReadings[] tokens = disambiguated.getTokens();

    assertTrue(tokens[1].getReadings().toString().contains("<adv>"));
    assertTrue(tokens[4].getReadings().toString().contains("</adv>"));
  }
 /** Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator. */
 @Override
 public final AnalyzedSentence disambiguate(AnalyzedSentence input) throws IOException {
   return chunker.disambiguate(disambiguator.disambiguate(input));
 }