detect_syntax: Detect syntax in a source text

Description Usage Arguments Value Examples

View source: R/detect_syntax.R

Description

Detect syntax in a source text

Usage

1

Arguments

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 comprehendHTTP.

Value

A data frame

Examples

1
2
3
4
5
6
7
8
9
## 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)

aws.comprehend documentation built on April 14, 2020, 6:34 p.m.