I Given "OriginalText" as input to detect offensive terms and it detected the language as zho_chs. below text is response from API
{
"OriginalText": "some profanity in zho_chs\r\n",
"NormalizedText": "some profanity in zho_chs\r\n",
"Misrepresentation": null,
"Language": "**zho_chs**",
"Terms": null,
"Status": {
"Code": 3000,
"Description": "OK",
"Exception": null
},
"TrackingId": <my trackingID>
}
But Now I am trying to add the custom term to be detected for language zho_chs below is the response from custom term adding. except zho_chs we are able to add for spa,fra,jpn,eng,deu. only having problem with zho_chs.
The language code is invalid: zho_chs.