Overriding language detection
To override automatic language detection in /analyze
requests, specify a language code in the language
attribute of the parameters
JSON object.
Example parameters.json file
{
"text": "...X, Y, Z, now I know my A, B, Cs",
"features": {
"semantic_roles": {}
},
"language": "en"
}
Example curl request
curl --user "apikey:{apikey}" \
"{url}/v1/analyze?version=2018-09-21" \
--request POST \
--header "Content-Type: application/json" \
--data @parameters.json