detect_syntax {aws.comprehend} | R Documentation |
Detect syntax in a source text
detect_syntax(text, language = "en", ...)
text |
A character string containing a text to syntax analyze, or a character vector to perform analysis separately for each element. |
language |
A character string containing a two-letter language code. |
... |
Additional arguments passed to |
A data frame
## Not run:
# simple example
detect_syntax("The quick brown fox jumps over the lazy dog.")
txt <-c("The quick brown fox jumps over the lazy dog.",
"I have never been happier!")
detect_syntax(txt)
## End(Not run)