public class SpanishHybridDisambiguator extends AbstractDisambiguator
Constructor and Description |
---|
SpanishHybridDisambiguator() |
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
disambiguate(AnalyzedSentence input)
If possible, filters out the wrong POS tags.
|
AnalyzedSentence |
disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
Calls two disambiguator classes: (1) a chunker; (2) a rule-based
disambiguator.
|
preDisambiguate
public AnalyzedSentence disambiguate(AnalyzedSentence input) throws IOException
Disambiguator
input
- The sentence with already tagged words. The words are expected to
have multiple tags.IOException
public AnalyzedSentence disambiguate(AnalyzedSentence input, @Nullable JLanguageTool.CheckCancelledCallback checkCanceled) throws IOException
IOException