diff --git a/src/Comprehend.php b/src/Comprehend.php index 1eb4952..2e21cdf 100644 --- a/src/Comprehend.php +++ b/src/Comprehend.php @@ -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. * @@ -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. *