Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/Comprehend.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ public function batchDetectSentiment(array $params = [])
return $this->client->batchDetectSentiment($params);
}

/**
* Inspects a batch of documents and returns the syntax for each one.
*
* @param array $params
* @return array
*/
public function batchDetectSyntax(array $params = [])
{
return $this->client->batchDetectSyntax($params);
}

/**
* Inspects the text of a batch of documents for named entities and returns information about them.
*
Expand Down Expand Up @@ -105,6 +116,17 @@ public function detectSentiment(array $params = [])
return $this->client->detectSentiment($params);
}

/**
* Inspects text and returns the syntax.
*
* @param array $params
* @return array
*/
public function detectSyntax(array $params = [])
{
return $this->client->detectSyntax($params);
}

/**
* Detects the key noun phrases found in the text.
*
Expand Down