Detect Key Phrases
comprehend_detect_key_phrases | R Documentation |
Detects the key noun phrases found in the text¶
Description¶
Detects the key noun phrases found in the text.
Usage¶
comprehend_detect_key_phrases(Text, LanguageCode)
Arguments¶
Text |
[required] A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
Value¶
A list with the following syntax:
list(
KeyPhrases = list(
list(
Score = 123.0,
Text = "string",
BeginOffset = 123,
EndOffset = 123
)
)
)
Request syntax¶
svc$detect_key_phrases(
Text = "string",
LanguageCode = "en"|"es"|"fr"|"de"|"it"|"pt"|"ar"|"hi"|"ja"|"ko"|"zh"|"zh-TW"
)