Class GalicianHybridDisambiguator
java.lang.Object
org.languagetool.tagging.disambiguation.AbstractDisambiguator
org.languagetool.tagging.disambiguation.gl.GalicianHybridDisambiguator
- All Implemented Interfaces:
Disambiguator
Hybrid chunker-disambiguator for Portuguese
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalyzedSentencedisambiguate(AnalyzedSentence input) Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator.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
-
chunker
-
disambiguator
-
-
Constructor Details
-
GalicianHybridDisambiguator
public GalicianHybridDisambiguator()
-
-
Method Details
-
disambiguate
Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator.- 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
-