Skip to content

Relation extraction request

The Relation extraction API request has a JSON object with this format:

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

For the description of the options, see the API request overview.