Module Smaws_Client_Comprehend.DetectDominantLanguage

Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `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.detect_dominant_language_request -> (Types.detect_dominant_language_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `InvalidRequestException of Types.invalid_request_exception | `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception ]) Stdlib.result