Class RussianTagger

java.lang.Object
org.languagetool.tagging.BaseTagger
org.languagetool.tagging.ru.RussianTagger
All Implemented Interfaces:
Tagger

public class RussianTagger extends BaseTagger
Part-of-speech tagger. Russian dictionary originally developed by www.aot.ru and licensed under LGPL. See readme.txt for details, the POS tagset is described in tagset.txt
  • Field Details

  • Constructor Details

    • RussianTagger

      public RussianTagger()
  • Method Details

    • tag

      public List<AnalyzedTokenReadings> tag(List<String> sentenceTokens) throws IOException
      Description copied from interface: Tagger
      Returns a list of AnalyzedTokens that assigns each term in the sentence some kind of part-of-speech information (not necessarily just one tag).

      Note that this method takes exactly one sentence. Its implementation may implement special cases for the first word of a sentence, which is usually written with an uppercase letter.

      Specified by:
      tag in interface Tagger
      Overrides:
      tag in class BaseTagger
      Parameters:
      sentenceTokens - the text as returned by a WordTokenizer
      Throws:
      IOException