| Package | Description |
|---|---|
| org.languagetool | |
| org.languagetool.tagging.disambiguation | |
| org.languagetool.tagging.disambiguation.rules |
| 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 |
XmlRuleDisambiguator.disambiguate(AnalyzedSentence sentence,
JLanguageTool.CheckCancelledCallback checkCanceled) |