Module Values.DetectedLanguageLowConfidenceExceptionSource

The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the DetectDominantLanguage operation in the Amazon Comprehend Developer Guide.

Sourcetype nonrec t = {
  1. message : String_.t option;
  2. detectedLanguageCode : LanguageCodeString.t option;
    (*

    The language code of the auto-detected language from Amazon Comprehend.

    *)
}
Sourceval make : ?message:??? -> ?detectedLanguageCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t