Module Smaws_Client_Comprehend.BatchDetectDominantLanguage

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `BatchSizeLimitExceededException of Types.batch_size_limit_exceeded_exception | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.batch_detect_dominant_language_request -> (Types.batch_detect_dominant_language_response, [> Smaws_Lib.Protocols.AwsJson.error | `BatchSizeLimitExceededException of Types.batch_size_limit_exceeded_exception | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception ]) Stdlib.result