This project contains sample code for using Amazon Translate in conjunction with Amazon Comprehend Medical to analyze medical notes in multiple languages. This repository contains the AWS Lambda function code for using these two services together, an AWS CloudFormation custom resource for creating an Amazon Athena table to evaluate the results, and the AWS CloudFormation template to deploy it all. Use the steps below to deploy this code:
The output section of the CloudFormation stack will provide you the URL for this solution. There are three query string parameters supported:
NOTE: This solution will make a high volume of calls to Amazon Translate. Please check your Amazon Translate and request an increase to API limits if necessary. Also, this solution is a sample, and intended to run on a small number of notes. If a large quantity of notes is translated, the 30 sec timeout of API Gateway may be hit.
This library is licensed under the MIT-0 License. See the LICENSE file.