Skip to contents

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

See https://www.paws-r-sdk.com/docs/comprehend_detect_syntax/ for full documentation.

Usage

comprehend_detect_syntax(Text, LanguageCode)

Arguments

Text

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

LanguageCode

[required] 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").