title: Creating Client for Amazon Comprehend with AWS for PHP
body: <p>I recently updated from version 1 of the AWS SDK for PHP to version 3 of the AWS SDK so that I could start testing scripts using the Comprehend and Textract applications. I was able to connect through version 3 and utilize S3 using the "new S3Client()" command. There's extensive documentation regarding functions for Comprehend and Textract, but I can't figure out what the similar new client string is for each service. I've tried:
  <br><code>$cc = new comprehendClient();</code>
  <br><code>$cc = new AWSComprehend();</code>
  <br><code>$cc = new createComprehend();</code>
  <br>and more and none of these have worked. If anyone can recommend a fix that would be really helpful. Likewise, if there's an online code repository I should look at that would be helpful. I see plenty of code samples for S3, but none for other applications (at least with SDK for PHP).
  Thanks!</p>