Class PortugueseTagger

java.lang.Object
org.languagetool.tagging.BaseTagger
org.languagetool.tagging.pt.PortugueseTagger
All Implemented Interfaces:
org.languagetool.tagging.Tagger

public class PortugueseTagger extends org.languagetool.tagging.BaseTagger
Portuguese Part-of-speech tagger. Based on English tagger.
Author:
Marcin Milkowski Base PT file created by Jaume OrtolĂ  Extended by Tiago F. Santos
  • Constructor Details

    • PortugueseTagger

      public PortugueseTagger()
  • Method Details

    • getManualAdditionsFileName

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

      public String getManualRemovalsFileName()
      Overrides:
      getManualRemovalsFileName in class org.languagetool.tagging.BaseTagger
    • overwriteWithManualTagger

      public boolean overwriteWithManualTagger()
      Overrides:
      overwriteWithManualTagger in class org.languagetool.tagging.BaseTagger
    • tag

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

      @Nullable protected @Nullable List<org.languagetool.AnalyzedToken> additionalTags(String word, morfologik.stemming.IStemmer stemmer)