Document classification requests
The JSON object that constitutes the payload of requests for document classification must be like this:
{
"document": {
"text": "Your text here."
},
"options": {
"analysis": [
"categories"
],
"features": [
"knowledge",
"dependency",
"syncpos"
]
}
}