DetectDominantLanguages

Description

This activity dectects the dominant language of an input text and returns the list of all languages found in the text ordered from te most used to the less used.

If you don't know how to get your AWS credentials have a look at the Activity Library AWS documentation.

AWS Credentials

AccessKey InArgument<String> REQUIRED

The access key for Amazon AWS authentication.

SecretKey InArgument<String> REQUIRED

The secret key for Amazon AWS authentication.


Input

Text InArgument<String> REQUIRED

The text you want to detect the dominant language.



Output

DominantLanguage OutArgument<DMAIDominantLanguage>

The most used language in the input text.


Settings

RegionEndpoint EAWSRegionEndpoint

An AWS Region is a collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the other Regions.

Have a look to AWS official page for more informations.