云客服-拼写检查接口:报文样例

时间:2023-11-01 16:19:54

报文样例

  • 请求消息样例
    {    "tenantId": "ipcc",    "authToken": "0**************************",    "sentence": "请座",    "language": "zh_CN",    "checkerType": "nonWordSpellChecker"}
  • 响应消息样例
    {    "hasMistake": false,    "spellCheckerMatchList": [        {            "word": "请",            "startIndex": 0,            "endIndex": 1,            "hasMistake": false,            "correctWord": "请"        },        {            "word": "座",            "startIndex": 1,            "endIndex": 2,            "hasMistake": true,            "correctWord": "坐"        }    ]}
support.huaweicloud.com/api-ccfs-cec/cec_05_1595.html