Package org.languagetool.tagging
Class MorfologikTagger
- java.lang.Object
-
- org.languagetool.tagging.MorfologikTagger
-
- All Implemented Interfaces:
WordTagger
public class MorfologikTagger extends Object implements WordTagger
Tags a word using a Morfologik binary dictionary.- Since:
- 2.8
-
-
Constructor Summary
Constructors Constructor Description MorfologikTagger(String dictPath)
MorfologikTagger(morfologik.stemming.Dictionary dictionary)
Constructs a MorfologikTagger with the given morfologik dictionary.
-
-
-
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 interfaceWordTagger
- Parameters:
word
- the word to be tagged- Returns:
- the possible POS tags, or an empty list
-
-