{"id":1191,"date":"2021-11-12T08:33:11","date_gmt":"2021-11-12T08:33:11","guid":{"rendered":"https:\/\/salarydistribution.com\/machine-learning\/2021\/11\/12\/customize-amazon-translate-output-to-meet-your-domain-and-organization-specific-vocabulary\/"},"modified":"2021-11-12T08:33:11","modified_gmt":"2021-11-12T08:33:11","slug":"customize-amazon-translate-output-to-meet-your-domain-and-organization-specific-vocabulary","status":"publish","type":"post","link":"https:\/\/salarydistribution.com\/machine-learning\/2021\/11\/12\/customize-amazon-translate-output-to-meet-your-domain-and-organization-specific-vocabulary\/","title":{"rendered":"Customize Amazon Translate output to meet your domain and organization specific vocabulary"},"content":{"rendered":"<div id=\"\">\n<p><a href=\"https:\/\/aws.amazon.com\/translate\/\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon Translate<\/a> is a neural machine translation service that delivers fast, high-quality, affordable, and customizable language translation. When you translate from one language to another, you want your machine translation to be accurate, fluent, and most importantly contextual. Customization is key in keeping your machine translation contextual. Amazon Translate provides multiple capabilities for customization to achieve the best machine translation. One such capability is <a href=\"https:\/\/docs.aws.amazon.com\/translate\/latest\/dg\/how-custom-terminology.html\" target=\"_blank\" rel=\"noopener noreferrer\">custom terminology<\/a>. Custom terminology enables you to customize your translation output such that your domain and organization specific vocabulary such as brand names, character names, model names, and other unique content (named entities) are translated exactly the way you need. To use the custom terminology feature, you create a terminology using a terminology file in a CSV or TMX file format and specify this custom terminology as a parameter in an Amazon Translate <a href=\"https:\/\/docs.aws.amazon.com\/translate\/latest\/dg\/sync.html\" target=\"_blank\" rel=\"noopener noreferrer\">real-time translation<\/a> or <a href=\"https:\/\/docs.aws.amazon.com\/translate\/latest\/dg\/async.html\" target=\"_blank\" rel=\"noopener noreferrer\">asynchronous batch processing<\/a> request.<\/p>\n<p>Amazon Translate now supports multi-directional custom terminology. You no longer have to create multiple terminology CSV files with each one differing only in the first column to indicate the source language, include additional preprocessing logic to identify the dominant language, and choose the correct terminology file for the translation request. You can now use a single custom terminology for multiple source and target language combinations. Even when you set the source language to be detected automatically, Amazon Translate uses <a href=\"https:\/\/aws.amazon.com\/comprehend\/\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon Comprehend<\/a> to determine the dominant language of the source material, uses it as the source language, and translates the text using the terms specified in the custom terminology. For additional details on custom terminology, refer to <a href=\"https:\/\/docs.aws.amazon.com\/translate\/latest\/dg\/how-custom-terminology.html\" target=\"_blank\" rel=\"noopener noreferrer\">Customizing Your Translations with Custom Terminology<\/a>.<\/p>\n<p>In this post, we walk you through the step-by-step process of how to use custom terminology and get a customized machine translated output securely.<\/p>\n<h2>Solution overview<\/h2>\n<p>To customize your translation for terms that are unique to your industry domain or organization, you define these terms in a terminology file in CSV or TMX file format. The terms within the custom terminology are considered case-sensitive, and Amazon Translate identifies an exact match between a terminology entry and a string in the source text when their case matches.<\/p>\n<p>For our use case, we have our data in CSV format, and the name of the file is <code>custom_terminology.csv<\/code>. The data in the file should also be <a href=\"https:\/\/en.wikipedia.org\/wiki\/UTF-8\" target=\"_blank\" rel=\"noopener noreferrer\">UTF-8<\/a> encoded. The following table summarizes the contents of the file.<\/p>\n<table border=\"1px\" cellpadding=\"10px\">\n<tbody>\n<tr>\n<td width=\"112\">en<\/td>\n<td width=\"112\">es<\/td>\n<td width=\"112\">fr<\/td>\n<td width=\"112\">hi<\/td>\n<td width=\"112\">ta<\/td>\n<\/tr>\n<tr>\n<td width=\"112\">Echo<\/td>\n<td width=\"112\">Echo<\/td>\n<td width=\"112\">Echo<\/td>\n<td width=\"112\">Echo<\/td>\n<td width=\"112\">Echo<\/td>\n<\/tr>\n<tr>\n<td width=\"112\">Show<\/td>\n<td width=\"112\">Show<\/td>\n<td width=\"112\">Show<\/td>\n<td width=\"112\">Show<\/td>\n<td width=\"112\">Show<\/td>\n<\/tr>\n<tr>\n<td width=\"112\">Amazon<\/td>\n<td width=\"112\">Amazon<\/td>\n<td width=\"112\">Amazon<\/td>\n<td width=\"112\">Amazon<\/td>\n<td width=\"112\">Amazon<\/td>\n<\/tr>\n<tr>\n<td width=\"112\">Alexa<\/td>\n<td width=\"112\">Alexa<\/td>\n<td width=\"112\">Alexa<\/td>\n<td width=\"112\">Alexa<\/td>\n<td width=\"112\">Alexa<\/td>\n<\/tr>\n<tr>\n<td width=\"112\">AZ2<\/td>\n<td width=\"112\">AZ2<\/td>\n<td width=\"112\">AZ2<\/td>\n<td width=\"112\">AZ2<\/td>\n<td width=\"112\">AZ2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Import terminology<\/h2>\n<p>First, we import our multi-directional custom terminology using the <code>custom_terminology.csv<\/code> file. In the following sections, we show you how to import your terminology via the <a href=\"http:\/\/aws.amazon.com\/console\" target=\"_blank\" rel=\"noopener noreferrer\">AWS Management Console<\/a>, <a href=\"http:\/\/aws.amazon.com\/cli\" target=\"_blank\" rel=\"noopener noreferrer\">AWS Command Line Interface<\/a> (AWS CLI), or with the Amazon Translate SDK (Python Boto3).<\/p>\n<h3>Amazon Translate console<\/h3>\n<p>To import the terminology via the console, complete the following steps:<\/p>\n<ol>\n<li>On the Amazon Translate console, in the navigation pane, choose <strong>Custom terminology<\/strong>.<\/li>\n<li>Choose <strong>Create terminology<\/strong>.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/6268-New.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-30722 size-full\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/6268-New.jpg\" alt=\"\" width=\"800\" height=\"196\"><\/a><\/p>\n<ol start=\"3\">\n<li>For <strong>Name<\/strong>, enter an appropriate name, for example <code>CustomTerminologyDemo<\/code>.<\/li>\n<li>For <strong>Terminology file<\/strong>, upload the <code>custom_terminology.csv<\/code> file.<\/li>\n<li>For <strong>Terminology file data format<\/strong>, choose <strong>CSV<\/strong>, since we uploaded a CSV file.<\/li>\n<li>For <strong>Directionality<\/strong>, choose <strong>Multi-directional<\/strong>.<\/li>\n<li>For <strong>Encryption key<\/strong>, for the purpose of this post, we leave it as default, an AWS owned and managed key. You can select any appropriate key.<\/li>\n<\/ol>\n<p><strong>\u00a0<\/strong>Your data is always secure with Amazon Translate. It\u2019s encrypted using an AWS owned encryption key using <a href=\"http:\/\/aws.amazon.com\/kms\" target=\"_blank\" rel=\"noopener noreferrer\">AWS Key Management Service<\/a> (AWS KMS) by default. You can encrypt it using a key from your current account or use a key from a different account.<\/p>\n<ol start=\"8\">\n<li>Choose <strong>Create Terminology<\/strong>.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/2-6268.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-30620 size-full\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/2-6268.jpg\" alt=\"\" width=\"800\" height=\"510\"><\/a><\/p>\n<p>Your custom terminology is now listed on the <strong>Custom terminology<\/strong> page.<\/p>\n<p><a href=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/3-6268.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-30621 size-full\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/3-6268.jpg\" alt=\"\" width=\"800\" height=\"129\"><\/a><\/p>\n<h3>AWS CLI<\/h3>\n<p>The following AWS CLI commands are formatted for Unix, Linux, and macOS. For Windows, replace the backslash (<code><\/code>) Unix continuation character at the end of each line with a caret (<code>^<\/code>).<\/p>\n<p>You can call the <code>import-terminology<\/code> AWS CLI command to create a custom terminology resource:<\/p>\n<div class=\"hide-language\">\n<pre><code class=\"lang-bash\">aws translate import-terminology \n--region us-east-1 \n--name CustomTerminologyDemo \n--description \"Multi-Directional custom terminology in AWS Translate\" \n--merge-strategy OVERWRITE \n--data-file fileb:\/\/custom_terminology.csv \n--terminology-data Format=CSV,Directionality=MULTI \n<\/code><\/pre>\n<\/p><\/div>\n<p>You get a response like the following snippet:<\/p>\n<div class=\"hide-language\">\n<pre><code class=\"lang-json\">{\n    \"TerminologyProperties\": {\n        \"Name\": \"CustomTerminologyDemo\",\n        \"Description\": \"Multi-Directional custom terminology in AWS Translate\",\n        \"Arn\": \"arn:aws:translate:us-east-1:123456789012:terminology\/CustomTerminologyDemo\/LATEST\",\n        \"Directionality\": \"MULTI\"\n        \"SourceLanguageCode\": \"en\",\n        \"TargetLanguageCodes\": [\n            \"hi\",\n            \"fr\",\n            \"ta\",\n            \"es\"\n        ],\n        \"SizeBytes\": 136,\n        \"TermCount\": 20, \n        \"CreatedAt\": \"2021-10-12T15:29:51.294000-04:00\",\n        \"LastUpdatedAt\": \"2021-10-12T15:29:51.458000-04:00\"\n    }\n}\n<\/code><\/pre>\n<\/p><\/div>\n<p>You can use the <code>list-terminologies<\/code> command to list all the custom terminology created:<\/p>\n<div class=\"hide-language\">\n<div class=\"hide-language\">\n<pre class=\"unlimited-height-code\"><code class=\"lang-bash\">aws translate get-terminology --name CustomTerminologyDemo \u2013-region us-east-1<\/code><\/pre>\n<\/p><\/div>\n<p>The response looks like the following:<\/p>\n<div class=\"hide-language\">\n<pre><code class=\"lang-json\">{\n    \"TerminologyPropertiesList\": [\n        {\n            \"Name\": \"CustomTerminologyDemo\",\n            \"Arn\": \"arn:aws:translate:us-east-1:123456789012:terminology\/CustomTerminologyDemo\/LATEST\",\n            \"SourceLanguageCode\": \"en\",\n            \"TargetLanguageCodes\": [\n            \"hi\",\n            \"ta\",\n            \"fr\",\n            \"es\"\n            ],\n            \"SizeBytes\": 157,\n            \"TermCount\": 20,\n            \"CreatedAt\": \"2021-10-12T15:29:51.294000-04:00\",\n            \"LastUpdatedAt\": \"2021-10-12T15:29:51.458000-04:00\",\n \t\t\"Directionality\": \"MULTI\",\n\t\t\"Format\": \"CSV\"\t\t   \n        }\n    ]\n}\n<\/code><\/pre>\n<\/p><\/div>\n<p>You can use the <code>get-terminology<\/code> command to get the details of a specific custom terminology resource:<\/p>\n<\/p><\/div>\n<div class=\"hide-language\">\n<pre class=\"unlimited-height-code\"><code class=\"lang-bash\">aws translate get-terminology --name CustomTerminologyDemo --terminology-data-format CSV \u2013region us-east-1<\/code><\/pre>\n<\/p><\/div>\n<p>The response looks like the following:<\/p>\n<div class=\"hide-language\">\n<div class=\"hide-language\">\n<pre><code class=\"lang-json\">{\n    \"TerminologyProperties\": {\n        \"Name\": \"CustomTerminologyDemo\",\n        \"Description\": \"Custom terminology in AWS Translate\",\n        \"Arn\": \"arn:aws:translate:us-east-1:123456789012:terminology\/CustomTerminologyDemo\/LATEST\",\n        \"Format\": \"CSV\",\n        \"Directionality\": \"MULTI\"\n        \"SourceLanguageCode\": \"en\",\n        \"TargetLanguageCodes\": [\n            \"hi\",\n            \"fr\",\n            \"ta\",\n            \"es\"\n        ],\n        \"SizeBytes\": 136,\n        \"TermCount\": 20, \n        \"CreatedAt\": \"2021-10-12T15:29:51.294000-04:00\",\n        \"LastUpdatedAt\": \"2021-10-12T15:29:51.458000-04:00\"\n    },\n    \"TerminologyDataLocation\": {\n        \"RepositoryType\": \"S3\",\n        \"Location\": \"https:\/\/aws-translate-terminology-prod-us-east-1.s3.us-east-1.amazonaws.com\/123456789012\/CustomTerminologyDemo\/LATEST\/c5c307b8-30f3-4704-8e39-ca4e9330ff6f\/CSV\/Custom_terminology.csv?X-Amz-Security-Token=1111222233334444aaaaeeeefffff&amp;X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Date=20211022T150354Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=1800&amp;X-Amz-Credential=ASIA1a2b3c4d5e6f%2F20211022%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Signature=aaaabbbb11112222\"\n    }\n}\n<\/code><\/pre>\n<\/p><\/div>\n<\/p><\/div>\n<p>To delete a custom terminology resource, you can use the <code>delete-terminology<\/code> command:<\/p>\n<div class=\"hide-language\">\n<pre class=\"unlimited-height-code\"><code class=\"lang-bash\">aws translate delete-terminology --name CustomTerminologyDemo \u2013region us-east-1<\/code><\/pre>\n<\/p><\/div>\n<h3>Amazon Translate SDK (Python Boto3)<\/h3>\n<p>The following Python 3 code creates a custom terminology, lists all the custom terminology, and uses the terminology resource part of the real-time translation call:<\/p>\n<div class=\"hide-language\">\n<pre><code class=\"lang-python\">import boto3\nimport json\n\ntranslate = boto3.client('translate')\n\nwith open('custom_terminology.csv', 'rb') as ct_file:\n    translate.import_terminology(\n        Name='CustomTerminology_boto3',\n        MergeStrategy='OVERWRITE',\n        Description='Terminology for Demo through boto3',\n        TerminologyData={\n            'File': ct_file.read(),\n            'Format': 'CSV'\n            'Directionality': 'MULTI'\n        }\n    )\n\nresponse = translate.list_terminologies()\nterminology_names = [tag[\"Name\"] for tag in response[\"TerminologyPropertiesList\"]]\nprint(str(terminology_names))\n\nresponse = translate.get_terminology(\n    Name='CustomTerminology_boto3',\n    TerminologyDataFormat='CSV'\n)\nprint(\"Name:{}\".format(response[\"TerminologyProperties\"][\"Name\"]))\nprint(\"Description:{}\".format(response[\"TerminologyProperties\"][\"Description\"]))\nprint(\"ARN:{}\".format(response[\"TerminologyProperties\"][\"Arn\"]))\nprint(\"Directionality:{}\".format(response[\"TerminologyProperties\"][\"Directionality\"]))\n\nSOURCE_TEXT = (\"Amazon a pr\u00e9sent\u00e9 aujourd'hui Echo Show 15, un nouvel ajout \u00e0 la famille Echo Show qui est con\u00e7u pour \u00eatre le c\u0153ur num\u00e9rique de votre maison\")\n\nOUTPUT_LANG_CODE = 'en'\n\nresult = translate.translate_text(\n    Text=SOURCE_TEXT,\n    TerminologyNames=['CustomTerminology_boto3'], \n    SourceLanguageCode='auto',\n    TargetLanguageCode=OUTPUT_LANG_CODE\n)\n\nprint(\"Translated Text:{}\".format(result['TranslatedText']))\n<\/code><\/pre>\n<\/p><\/div>\n<p>Running the Python code prints the following result:<\/p>\n<div class=\"hide-language\">\n<pre class=\"unlimited-height-code\"><code class=\"lang-python\">python translate_custom_terminology.py\n \n['CustomTerminology_boto3']\nName: CustomTerminology_boto3\nDescription: Terminology for Demo through boto3\nARN: arn:aws:translate:us-east-1:123456789012:terminology\/CustomTerminology_boto3\/LATEST\nDirectionality: MULTI\n\nTranslated Text: Amazon today introduced Echo Show 15, a new addition to the Echo Show family that is designed to be the digital heart of your home.\n<\/code><\/pre>\n<\/p><\/div>\n<h2>Real-time translation using multi-directional custom terminology<\/h2>\n<p>In this section, we demonstrate two use cases using multi-directional custom terminology for real-time translation in Amazon Translate.<\/p>\n<h3>Scenario 1: Multi-directional custom terminology<\/h3>\n<p>For a basic demonstration of using multi-directional custom terminology with real-time translation, we use the following sample text in Spanish to be translated to French.<\/p>\n<p><em>Amazon ha presentado hoy el Echo Show 15, una nueva incorporaci\u00f3n a la familia Echo Show que est\u00e1 dise\u00f1ada para ser el coraz\u00f3n digital de tu hogar. Con una pantalla Full HD de 15,6 pulgadas y 1080p, el Echo Show 15 puede fijarse en la pared o colocarse sobre un soporte compatible, ya sea en orientaci\u00f3n vertical u horizontal, y est\u00e1 dise\u00f1ado para ayudarte a mantenerte organizado, conectado y entretenido. El Echo Show 15 est\u00e1 fabricado con el procesador Amazon AZ2 Neural Edge de \u00faltima generaci\u00f3n, una pantalla de inicio redise\u00f1ada con m\u00e1s opciones de personalizaci\u00f3n, nuevas funcionalidades de personalizaci\u00f3n con ID Visual, y experiencias de Alexa totalmente nuevas.<\/em><\/p>\n<p>On the Amazon Translate console, complete the following steps:<\/p>\n<ol>\n<li>Choose <strong>Spanish (es)<\/strong> as the <strong>Source language<\/strong>.<\/li>\n<li>Choose <strong>French (fr)<\/strong> as the <strong>Target Language<\/strong>.<\/li>\n<li>In the <strong>Additional settings<\/strong> section, turn <strong>Custom terminology<\/strong><\/li>\n<li>Choose <strong>CustomTerminologyDemo<\/strong> as the terminology.<\/li>\n<li>Enter the provided sample text in the <strong>Source Language<\/strong> text area.<\/li>\n<\/ol>\n<p>The following screenshot shows the translated text with custom terminology applied.<\/p>\n<p><a href=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/4-6268.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-30622 size-full\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/4-6268.jpg\" alt=\"\" width=\"800\" height=\"422\"><\/a><\/p>\n<p>Spanish wasn\u2019t the first column in the terminology file we uploaded, but with multi-directional terminology support, Amazon Translate was able to use the supplied terminology file to customize the translation.<\/p>\n<h3>Scenario 2: Automatically detect source language<\/h3>\n<p>In this use case, we demonstrate the capability in Amazon Translate to automatically detect the source language and use the supplied terminology file to customize the translation. We use the following sample text in French and translate it to Hindi:<\/p>\n<p><em>Aujourd\u2019hui, Amazon pr\u00e9sente Echo Show 15, dernier-n\u00e9 de la gamme Echo Show, imagin\u00e9 pour \u00eatre le c\u0153ur num\u00e9rique de votre domicile. Avec un \u00e9cran Full HD 1080p de 15,6\u2019\u2019, Echo Show 15 peut \u00eatre fix\u00e9 au mur ou pos\u00e9 sur un support compatible, en orientation portrait ou paysage, et est con\u00e7u pour vous aider \u00e0 rester organis\u00e9\u00b7e, connect\u00e9\u00b7e et diverti\u00b7e. Echo Show 15 est \u00e9quip\u00e9 du processeur Amazon AZ2 Neural Edge de nouvelle g\u00e9n\u00e9ration, d\u2019un \u00e9cran d\u2019accueil repens\u00e9 avec plus d\u2019options et de nouvelles fonctionnalit\u00e9s de personnalisation gr\u00e2ce \u00e0 l\u2019identifiant facial, et b\u00e9n\u00e9ficie de toutes nouvelles exp\u00e9riences Alexa.<\/em><\/p>\n<p>First let\u2019s demonstrate the translation without custom terminology.<\/p>\n<ol>\n<li>Choose <strong>Source language <\/strong>as <strong>Auto (auto).<\/strong><\/li>\n<li>Choose <strong>Hindi (hi)<\/strong> as the <strong>Target Language.<\/strong><\/li>\n<li>Enter the provided text in the <strong>Source Language<\/strong> text area.<\/li>\n<\/ol>\n<p>The following screenshot shows the translated text.<\/p>\n<p><a href=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/5-6268.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-30623 size-full\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/5-6268.jpg\" alt=\"\" width=\"800\" height=\"302\"><\/a><\/p>\n<p>Words like Amazon, Echo, Show, AZ2, and Alexa have been translated into Devanagari script.<\/p>\n<p>Let\u2019s perform the same translation using our multi-directional custom terminology.<\/p>\n<ol start=\"4\">\n<li>Choose <strong>Source language <\/strong>as <strong>Auto (auto).<\/strong><\/li>\n<li>Choose <strong>Hindi (hi)<\/strong> as the <strong>Target Language.<\/strong><\/li>\n<li>In the <strong>Additional settings<\/strong> section, turn <strong>Custom terminology<\/strong><\/li>\n<li>Choose <strong>CustomTerminologyDemo<\/strong> as the terminology.<\/li>\n<li>Enter the provided text in the <strong>Source Language<\/strong> text area.<\/li>\n<\/ol>\n<p>The following screenshot shows the translated text with custom terminology applied.<\/p>\n<p><a href=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/6268-real-time-translation.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-30725 size-full\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/11\/11\/6268-real-time-translation.jpg\" alt=\"\" width=\"800\" height=\"419\"><\/a><\/p>\n<p>The source language was automatically detected as French, and with the multi-directional custom terminology support, Amazon Translate was able to use the supplied terminology file to customize the translation and retain the Latin script for words like Amazon, Echo, Show, AZ2, and Alexa.<\/p>\n<h2>Conclusion<\/h2>\n<p>When you use custom terminology with translation requests, you can make sure that your unique content, such as brand names, character names, and model names, is translated exactly the way you need it, regardless of context and the Amazon Translate algorithm\u2019s decision. In addition, with multi-directional custom terminology, the management overhead of maintaining multiple terminologies is drastically reduced, and you can use a single terminology to translate to and from a specific language. For more information about how to get the best translation quality when using custom terminology, see <a href=\"https:\/\/docs.aws.amazon.com\/translate\/latest\/dg\/ct-best-practices.html\" target=\"_blank\" rel=\"noopener noreferrer\">Best Practices<\/a>.<\/p>\n<hr>\n<h3>About the Authors<\/h3>\n<p><strong><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-21061 alignleft\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2021\/01\/25\/Siva-Rajamani.jpg\" alt=\"\" width=\"100\" height=\"119\">Siva Rajamani<\/strong> is a Boston-based Enterprise Solutions Architect at AWS. He enjoys working closely with customers and supporting their digital transformation and AWS adoption journey. His core areas of focus are serverless, application integration, and security. Outside of work, he enjoys outdoors activities and watching documentaries.<\/p>\n<p><strong><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2723 alignleft\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2017\/12\/06\/sudhanshu-100.jpg\" alt=\"\" width=\"100\" height=\"128\">Sudhanshu Malhotra<\/strong> is a Boston-based Enterprise Solutions Architect for AWS. He\u2019s a technology enthusiast who enjoys helping customers find innovative solutions to complex business challenges. His core areas of focus are DevOps, machine learning, and security. When he\u2019s not working with customers on their journey to the cloud, he enjoys reading, hiking, and exploring new cuisines.<\/p>\n<p><strong><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-11440 alignleft\" src=\"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2020\/03\/20\/watson-srivathsan-100.jpg\" alt=\"\" width=\"100\" height=\"132\">Watson G. Srivathsan<\/strong> is the Sr. Product Manager for Amazon Translate, AWS\u2019s natural language processing service. On weekends you will find him exploring the outdoors in the Pacific Northwest.<\/p>\n<p>       <!-- '\"` -->\n      <\/div>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/aws.amazon.com\/blogs\/machine-learning\/customize-amazon-translate-output-to-meet-your-domain-and-organization-specific-vocabulary\/<\/p>\n","protected":false},"author":0,"featured_media":1192,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/1191"}],"collection":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/comments?post=1191"}],"version-history":[{"count":0,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/1191\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media\/1192"}],"wp:attachment":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media?parent=1191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/categories?post=1191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/tags?post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}