aws-samples / amazon-translate-with-comprehend-medical

Sample code for using Amazon Translate to process medical text in multiple languages with Amazon Comprehend Medical
MIT No Attribution
6 stars 5 forks source link

Amazon Translate with Amazon Comprehend Medical

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:

Running the solution

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.

License

This library is licensed under the MIT-0 License. See the LICENSE file.