Class MorfologikTagger

  • All Implemented Interfaces:
    WordTagger

    public class MorfologikTagger
    extends Object
    implements WordTagger
    Tags a word using a Morfologik binary dictionary.
    Since:
    2.8
    • Constructor Detail

      • MorfologikTagger

        public MorfologikTagger​(String dictPath)
      • MorfologikTagger

        public MorfologikTagger​(morfologik.stemming.Dictionary dictionary)
        Constructs a MorfologikTagger with the given morfologik dictionary.
        Since:
        3.4
    • Method Detail

      • tag

        public List<TaggedWord> tag​(String word)
        Specified by:
        tag in interface WordTagger
        Parameters:
        word - the word to be tagged
        Returns:
        the possible POS tags, or an empty list