Using AWS Lambda and Amazon Comprehend to detect text language

AWS Lambda → Amazon Comprehend

AWS Lambda function that calls Amazon Comprehend service to detect text language using Boto3 SDK.

This pattern shows how to deploy a SAM template that builds a Lambda function which calls Amazon Comprehend for detecting the dominant language in a text.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd lambda-comprehend-language-sam

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete --stack-name {StackName}

Created by:

Abilashkumar P C

Abilashkumar P C

Cloud Support Engineer II @ AWS