Modifier and Type | Method and Description |
---|---|
void |
JLanguageTool.setCheckCancelledCallback(JLanguageTool.CheckCancelledCallback callback)
Callback to determine if result of executing
JLanguageTool.check(String) is still needed. |
Modifier and Type | Method and Description |
---|---|
default AnalyzedSentence |
Disambiguator.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
The same as
Disambiguator.disambiguate(AnalyzedSentence) ,
but may call checkCanceled (if it's non-null) to allow for better interruptibility. |
AnalyzedSentence |
MultiWordChunker.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...)
|
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
SpanishHybridDisambiguator.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
Calls two disambiguator classes: (1) a chunker; (2) a rule-based
disambiguator.
|
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
FrenchHybridDisambiguator.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
Calls two disambiguator classes: (1) a chunker; (2) a rule-based
disambiguator.
|
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
RussianHybridDisambiguator.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator.
|
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
XmlRuleDisambiguator.disambiguate(AnalyzedSentence sentence,
JLanguageTool.CheckCancelledCallback checkCanceled) |
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
GermanRuleDisambiguator.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled) |
Modifier and Type | Method and Description |
---|---|
AnalyzedSentence |
EnglishHybridDisambiguator.disambiguate(AnalyzedSentence input,
JLanguageTool.CheckCancelledCallback checkCanceled)
Calls two disambiguator classes: (1) a chunker; (2) a rule-based
disambiguator.
|