AWSTranslate
A processor that uses Amazon Web Services (AWS) to translate text from one language to another. For more information about this service, see https://aws.amazon.com/translate/.
The document content and fields that you choose to translate are overwritten (the translated text replaces the source text).
OpenText recommends using the DetectContentLanguage processor to identify the source language. The document field or content that you want to translate must not exceed 5000 characters, so OpenText recommends placing a ContentIntoSections processor before the AWSTranslate processor.
Properties
Name | Default Value | Description |
---|---|---|
IDOL License Service | An IdolLicenseServiceImpl that provides a way to communicate with an IDOL License Server. | |
Proxy Configuration Service | A ProxyConfigurationServiceImpl that specifies the proxy server to use when sending requests to AWS. | |
Translate Content | True | Specifies whether to translate the document content. |
Source Language Field | DetectedLanguage |
The path to the document metadata field containing the source language. The value of the specified field must match one of the language names produced by IDOL language detection. |
Translate Metadata Fields | Comma (or newline) separated paths to the document metadata fields to translate. | |
Target Language | ENGLISH |
The target language. This property accepts the same language names that are produced by the DetectContentLanguage processor (see the list below). The language must also be supported by the AWS Translate service. For a list of languages supported by AWS Translate, refer to the Amazon documentation. Language detection supported languages
|
AWS Translate Access Key |
The AWS access key to use to authenticate with AWS. If you do not set this property, the access key is read from the default locations used by the AWS SDK - for example from the environment variable |
|
AWS Translate Secret Key |
The AWS secret key to use to authenticate with AWS. If you do not set this property, the secret key is read from the default locations used by the AWS SDK - for example from the environment variable |
|
AWS Translate Region | us-east-1 | The AWS region to use for translation services. |
Relationships
Name | Description |
---|---|
success | Successfully processed FlowFiles are routed to this relationship. |
failure | FlowFiles that were not processed successfully. |