FYI, if you are using Guzzle, then the code needs to be changed to this if you want to add specific annotators:
define('CURLPROPERTIES' , '"annotators":"ner","prettyPrint":"true"');
$client = new \GuzzleHttp\Client();
$res = $client->request('POST', CURLURL.'?properties={'.CURLPROPERTIES.'}', [
'body' => $text
]);
FYI, if you are using Guzzle, then the code needs to be changed to this if you want to add specific annotators:
define('CURLPROPERTIES' , '"annotators":"ner","prettyPrint":"true"');