Module Values.DetectSyntaxRequestSource

Inspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.

Sourcetype nonrec t = {
  1. text : CustomerInputString.t;
    (*

    A UTF-8 string. The maximum string size is 5 KB.

    *)
  2. languageCode : SyntaxLanguageCode.t;
    (*

    The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").

    *)
}
Sourceval context_ : string
Sourceval make : text:CustomerInputString.t -> languageCode:SyntaxLanguageCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CustomerInputString.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