detect_phrases {aws.comprehend} | R Documentation |
Detect key phrases
Description
Detect key phrases in a source text
Usage
detect_phrases(text, language = "en", ...)
Arguments
text |
A character string containing a text to analyze, or a character vector to perform analysis separately for each element. |
language |
A character string containing a two-letter language code. Currently “en” and “es” are supported. |
... |
Additional arguments passed to |
Value
A data frame
Examples
## Not run:
# simple example
detect_phrases("Amazon provides web services. Jeff is their leader.")
txt <-c("Amazon provides web services.",
"Jeff is their leader.")
detect_phrases(txt)
## End(Not run)
[Package aws.comprehend version 0.2.1 Index]