Skip to content

Adding annotators #6

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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