Class PolishTagger

java.lang.Object
org.languagetool.tagging.BaseTagger
org.languagetool.tagging.pl.PolishTagger
All Implemented Interfaces:
org.languagetool.tagging.Tagger

public class PolishTagger extends org.languagetool.tagging.BaseTagger
Polish POS tagger based on FSA morphological dictionaries.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Locale
     

    Fields inherited from class org.languagetool.tagging.BaseTagger

    conversionLocale, wordTagger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    addTokens(List<org.languagetool.AnalyzedToken> taggedTokens, List<org.languagetool.AnalyzedToken> l)
     
     
    final List<org.languagetool.AnalyzedTokenReadings>
    tag(List<String> sentenceTokens)
     

    Methods inherited from class org.languagetool.tagging.BaseTagger

    additionalTags, asAnalyzedToken, asAnalyzedTokenList, asAnalyzedTokenListForTaggedWords, createNullToken, createToken, getAnalyzedTokens, getDictionary, getDictionaryPath, getManualRemovalsFileName, getWordTagger, overwriteWithManualTagger

    Methods inherited from class java.lang.Object

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

    • plLocale

      private final Locale plLocale
  • Constructor Details

    • PolishTagger

      public PolishTagger()
  • Method Details

    • getManualAdditionsFileName

      public String getManualAdditionsFileName()
      Specified by:
      getManualAdditionsFileName in class org.languagetool.tagging.BaseTagger
    • tag

      public final List<org.languagetool.AnalyzedTokenReadings> tag(List<String> sentenceTokens)
      Specified by:
      tag in interface org.languagetool.tagging.Tagger
      Overrides:
      tag in class org.languagetool.tagging.BaseTagger
    • addTokens

      private void addTokens(List<org.languagetool.AnalyzedToken> taggedTokens, List<org.languagetool.AnalyzedToken> l)