Skip to content

Adding annotators #6

@ghost

Description

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
    ]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions