AWS.Translate (aws-elixir v0.8.0) View Source

Provides translation between one source language and another of the same set of languages.

Link to this section Summary

Functions

Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3.

Deletes a parallel data resource in Amazon Translate.

A synchronous action that deletes a custom terminology.

Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.

Provides information about a parallel data resource.

Retrieves a custom terminology.

Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology name.

Provides a list of your parallel data resources in Amazon Translate.

Provides a list of custom terminologies associated with your account.

Gets a list of the batch translation jobs that you have submitted.

Starts an asynchronous batch translation job.

Stops an asynchronous batch translation job that is in progress.

Translates input text from the source language to the target language.

Updates a previously created parallel data resource by importing a new input file from Amazon S3.

Link to this section Functions

Link to this function

create_parallel_data(client, input, options \\ [])

View Source

Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3.

Parallel data files contain examples of source phrases and their translations from your translation memory. By adding parallel data, you can influence the style, tone, and word choice in your translation output.

Link to this function

delete_parallel_data(client, input, options \\ [])

View Source

Deletes a parallel data resource in Amazon Translate.

Link to this function

delete_terminology(client, input, options \\ [])

View Source

A synchronous action that deletes a custom terminology.

Link to this function

describe_text_translation_job(client, input, options \\ [])

View Source

Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.

Link to this function

get_parallel_data(client, input, options \\ [])

View Source

Provides information about a parallel data resource.

Link to this function

get_terminology(client, input, options \\ [])

View Source

Retrieves a custom terminology.

Link to this function

import_terminology(client, input, options \\ [])

View Source

Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology name.

Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.

If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.

Link to this function

list_parallel_data(client, input, options \\ [])

View Source

Provides a list of your parallel data resources in Amazon Translate.

Link to this function

list_terminologies(client, input, options \\ [])

View Source

Provides a list of custom terminologies associated with your account.

Link to this function

list_text_translation_jobs(client, input, options \\ [])

View Source

Gets a list of the batch translation jobs that you have submitted.

Link to this function

start_text_translation_job(client, input, options \\ [])

View Source

Starts an asynchronous batch translation job.

Batch translation jobs can be used to translate large volumes of text across multiple documents at once. For more information, see async.

Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation.

Amazon Translate does not support batch translation of multiple source languages at once.

Link to this function

stop_text_translation_job(client, input, options \\ [])

View Source

Stops an asynchronous batch translation job that is in progress.

If the job's state is IN_PROGRESS, the job will be marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state. Otherwise, the job is put into the STOPPED state.

Asynchronous batch translation jobs are started with the StartTextTranslationJob operation. You can use the DescribeTextTranslationJob or ListTextTranslationJobs operations to get a batch translation job's JobId.

Link to this function

translate_text(client, input, options \\ [])

View Source

Translates input text from the source language to the target language.

For a list of available languages and language codes, see what-is-languages.

Link to this function

update_parallel_data(client, input, options \\ [])

View Source

Updates a previously created parallel data resource by importing a new input file from Amazon S3.