Class ItalianRuleDisambiguator
java.lang.Object
org.languagetool.tagging.disambiguation.AbstractDisambiguator
org.languagetool.tagging.disambiguation.rules.it.ItalianRuleDisambiguator
- All Implemented Interfaces:
Disambiguator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalyzedSentencedisambiguate(AnalyzedSentence input) If possible, filters out the wrong POS tags.Methods inherited from class org.languagetool.tagging.disambiguation.AbstractDisambiguator
preDisambiguateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.languagetool.tagging.disambiguation.Disambiguator
disambiguate
-
Field Details
-
disambiguator
-
-
Constructor Details
-
ItalianRuleDisambiguator
public ItalianRuleDisambiguator()
-
-
Method Details
-
disambiguate
Description copied from interface:DisambiguatorIf possible, filters out the wrong POS tags.- Parameters:
input- The sentence with already tagged words. The words are expected to have multiple tags.- Returns:
- Analyzed sentence, where each word has only one (possibly the most correct) tag.
- Throws:
IOException
-