Package org.languagetool.noop
Class NoopDisambiguator
java.lang.Object
org.languagetool.tagging.disambiguation.AbstractDisambiguator
org.languagetool.noop.NoopDisambiguator
- All Implemented Interfaces:
Disambiguator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalyzedSentence
disambiguate
(AnalyzedSentence input) If possible, filters out the wrong POS tags.Methods inherited from class org.languagetool.tagging.disambiguation.AbstractDisambiguator
preDisambiguate
-
Constructor Details
-
NoopDisambiguator
public NoopDisambiguator()
-
-
Method Details
-
disambiguate
Description copied from interface:Disambiguator
If 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.
-