工具 API
post_ check
主要功能——使用LanguageTool检查文本中可能的风格和语法问题。
调用信息
- 工具标识
- languagetool.post_check
- 服务提供方
- LanguageTool
- 平均响应
- 715 ms
- 近 7 天调用
- 1
输入参数
textThe text to be checked. This or 'data' is required.
dataThe text to be checked, given as a JSON document that specifies what's text and what's markup. This or 'text' is required. Markup will be ignored when looking for errors. Example text: <pre>A <b>te
language必填A language code like `en-US`, `de-DE`, `fr`, or `auto` to guess the language automatically (see `preferredVariants` below). For languages with variants (English, German, Portuguese) spell checking wil
usernameSet to get Premium API access: Your username/email as used to log in at languagetool.org.
dictsComma-separated list of dictionaries to include words from; uses special default dictionary if this is unset
motherTongueA language code of the user's native language, enabling false friends checks for some language pairs.
preferredVariantsComma-separated list of preferred language variants. The language detector used with `language=auto` can detect e.g. English, but it cannot decide whether British English or American English is used.
enabledRulesIDs of rules to be enabled, comma-separated
disabledRulesIDs of rules to be disabled, comma-separated
enabledCategoriesIDs of categories to be enabled, comma-separated
disabledCategoriesIDs of categories to be disabled, comma-separated
enabledOnlyIf true, only the rules and categories whose IDs are specified with `enabledRules` or `enabledCategories` are enabled.
levelIf set to `picky`, additional rules will be activated, i.e. rules that you might only find useful when checking formal text.