Class GalicianTagger

  • All Implemented Interfaces:
    org.languagetool.tagging.Tagger

    public class GalicianTagger
    extends org.languagetool.tagging.BaseTagger
    Galician Part-of-speech tagger.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.regex.Pattern ADJ_PART_FS  
      private static java.util.regex.Pattern PREFIXES_FOR_VERBS  
      private static java.util.regex.Pattern VERB  
      • Fields inherited from class org.languagetool.tagging.BaseTagger

        conversionLocale, wordTagger
    • Constructor Summary

      Constructors 
      Constructor Description
      GalicianTagger()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected @Nullable java.util.List<org.languagetool.AnalyzedToken> additionalTags​(java.lang.String word, morfologik.stemming.IStemmer stemmer)  
      private void addTokens​(java.util.List<org.languagetool.AnalyzedToken> taggedTokens, java.util.List<org.languagetool.AnalyzedToken> l)  
      java.lang.String getManualAdditionsFileName()  
      java.lang.String getManualRemovalsFileName()  
      boolean overwriteWithManualTagger()  
      java.util.List<org.languagetool.AnalyzedTokenReadings> tag​(java.util.List<java.lang.String> sentenceTokens)  
      • Methods inherited from class org.languagetool.tagging.BaseTagger

        additionalTags, asAnalyzedToken, asAnalyzedTokenList, asAnalyzedTokenListForTaggedWords, createNullToken, createToken, getAnalyzedTokens, getDictionary, getDictionaryPath, getWordTagger
      • Methods inherited from class java.lang.Object

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

      • ADJ_PART_FS

        private static final java.util.regex.Pattern ADJ_PART_FS
      • VERB

        private static final java.util.regex.Pattern VERB
      • PREFIXES_FOR_VERBS

        private static final java.util.regex.Pattern PREFIXES_FOR_VERBS
    • Constructor Detail

      • GalicianTagger

        public GalicianTagger()
    • Method Detail

      • getManualAdditionsFileName

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

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

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

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

        @Nullable
        protected @Nullable java.util.List<org.languagetool.AnalyzedToken> additionalTags​(java.lang.String word,
                                                                                          morfologik.stemming.IStemmer stemmer)
      • addTokens

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