AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
For .NET Core this operation is only available in asynchronous form. Please refer to BatchDetectDominantLanguageAsync.
Namespace: Amazon.Comprehend
Assembly: AWSSDK.Comprehend.dll
Version: 3.x.y.z
public virtual BatchDetectDominantLanguageResponse BatchDetectDominantLanguage( BatchDetectDominantLanguageRequest request )
Container for the necessary parameters to execute the BatchDetectDominantLanguage service method.
Exception | Condition |
---|---|
BatchSizeLimitExceededException | The number of documents in the request exceeds the limit of 25. Try your request again with fewer documents. |
InternalServerException | An internal server error occurred. Retry your request. |
InvalidRequestException | The request is invalid. |
TextSizeLimitExceededException | The size of the input text exceeds the limit. Use a smaller document. |
.NET Framework:
Supported in: 4.5 and newer, 3.5