There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for Amazon Comprehend using AWS SDKs
The following code examples show you how to use Amazon Comprehend with an AWS software development kit (SDK).
Actions are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios.
Scenarios are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.
More resources
Amazon Comprehend Developer Guide – More information about Amazon Comprehend.
Amazon Comprehend API Reference – Details about all available Amazon Comprehend actions.
AWS Developer Center
– Code examples that you can filter by category or full-text search. AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.
Code examples
- Basics
- Actions
- CreateDocumentClassifier
- DeleteDocumentClassifier
- DescribeDocumentClassificationJob
- DescribeDocumentClassifier
- DescribeTopicsDetectionJob
- DetectDominantLanguage
- DetectEntities
- DetectKeyPhrases
- DetectPiiEntities
- DetectSentiment
- DetectSyntax
- ListDocumentClassificationJobs
- ListDocumentClassifiers
- ListTopicsDetectionJobs
- StartDocumentClassificationJob
- StartTopicsDetectionJob
- Actions
- Scenarios
- Build an Amazon Transcribe streaming app
- Building an Amazon Lex chatbot
- Create a messaging application
- Create an application to analyze customer feedback
- Detect document elements
- Detect entities in text extracted from an image
- Run a topic modeling job on sample data
- Train a custom classifier and classify documents