您还未登录,暂无法调用,点击 登录
接口信息
参数填写
  • 参数说明
  • 调用结果
请求参数:
名称 类型 必填 说明
txt string 需要检查通顺度的文本(文本最长不能超过1000字)
返回参数说明:
名称 类型 说明
errcode string 返回的错误代码
errmsg string 返回的错误说明
index int 当前段落中不通顺的字出现的字符位置,汉字和英文都算1个位置
end int 当前段落中不通顺的字最后字符的位置,汉字和英文都算1个位置
text string 智能算法检测到可能不通顺的字,也可能是错别字
old_str string 错误文本
repl_str string 替换文本
op int 操作类型(1:在old_str前新增,2:在old_str后新增,3:删除,4:替换,16:没有操作)
sug string 建议或提示信息
JSON返回示例:
{
    "errcode": "0",
    "errmsg": "",
    "data": {
        "Result": [
            [
                {
                    "index": 66,
                    "end": 66,
                    "text": "的",
                    "old_str": "的",
                    "repl_str": "得",
                    "op": 4,
                    "sug": "建议用 \"得\" 替换 \"的\" "
                }
            ],
            []
        ]
    }
}                                    
{{responsedata}}

系统通知