Class RussianPartialPosTagFilter

java.lang.Object
org.languagetool.rules.patterns.RuleFilter
org.languagetool.rules.PartialPosTagFilter
org.languagetool.rules.ru.RussianPartialPosTagFilter

public class RussianPartialPosTagFilter extends org.languagetool.rules.PartialPosTagFilter
A PartialPosTagFilter for Russian that also runs the disambiguator. Note that the disambiguator is called with a single token, so only rules will apply that have a single <match> element.
Since:
3.6
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.languagetool.tagging.disambiguation.Disambiguator
     
    private final org.languagetool.tagging.Tagger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.languagetool.AnalyzedTokenReadings>
    tag(String token)
     

    Methods inherited from class org.languagetool.rules.PartialPosTagFilter

    acceptRuleMatch

    Methods inherited from class org.languagetool.rules.patterns.RuleFilter

    getRequired, matches

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tagger

      private final org.languagetool.tagging.Tagger tagger
    • disambiguator

      private final org.languagetool.tagging.disambiguation.Disambiguator disambiguator
  • Constructor Details

    • RussianPartialPosTagFilter

      public RussianPartialPosTagFilter()
  • Method Details

    • tag

      protected List<org.languagetool.AnalyzedTokenReadings> tag(String token)
      Specified by:
      tag in class org.languagetool.rules.PartialPosTagFilter