Skip to content

Relation extraction requests

The JSON object that constitutes the payload of requests for relation extraction must be like this:

{
    "document": {
        "text": "Your text here."
    },
    "options": {
        "analysis": [
            "relations"
        ],
        "features": [
            "knowledge",
            "dependency",
            "syncpos"
        ]
    }
}