Skip to content

Can I use AWS Lambda with Amazon Translate to build a serverless service that translates English to Gujarati? Does Amazon Translate currently support Gujarati and other regional Indian languages?

0

I’m currently working on a Gujarati OCR project where I extract text from images and aim to translate the recognized English text into Gujarati. I'm planning to use AWS Lambda for a serverless setup and Amazon Translate for the translation part. I would like to confirm if Gujarati is supported and if there are any limitations or best practices for working with regional Indian languages on AWS.

asked a year ago122 views

2 Answers
0

Yes, you can use AWS Lambda with Amazon Translate to build a serverless translation service. This combination allows you to create an on-demand solution where you only pay for what you use, without managing infrastructure.

Amazon Translate supports 75 languages, but the provided sources don't specifically mention Gujarati or list all the supported Indian languages. To determine if Gujarati is supported, you would need to check the Amazon Translate documentation for the complete list of supported languages.

For your OCR project, you could create a serverless workflow where:

  1. AWS Lambda functions call Amazon Translate's TranslateText API to perform the translation
  2. You can orchestrate the workflow using AWS Step Functions
  3. Store your source and translated documents in Amazon S3

The code examples show that you can use the TranslateText operation by providing the source language code, target language code, and the text to be translated. You can either specify the source language explicitly or use Amazon Translate's auto-detection feature (though this may incur additional charges).

If you're working with documents rather than plain text, you can use the TranslateDocument operation, which supports translations from English to supported languages and vice versa for text, HTML, or Word (.docx) documents.

For a more sophisticated solution, you might consider combining Amazon Translate with Amazon Bedrock to refine translations and create more natural, flowing content in your target language.
Sources
Real-time translation using the API - Amazon Translate
Use TranslateText with an AWS SDK or CLI - AWS SDK Code Examples
Automate document translation and standardization with Amazon Bedrock and Amazon Translate | AWS Machine Learning Blog

answered a year ago

0

Refer to this document - https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html - for a list of languages supported by Amazon Translate. According to this, Gujarati is supported. Other Indian languages including Bengali, Hindi, Malayalam, Punjabi, Tamil and Telugu are also supported.

EXPERT

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.