Lexical services - break into chunks

lexical_chunks(text, key = NULL, ...)

Arguments

text

(character) The source text

key

(character) API key. required either passed in here or save as an env var or R option. see rif and Startup

...

Curl options passed on to crul::HttpClient()

See also

Examples

if (FALSE) { text <- "Lorem ipsum inceptos dolor nisi torquent porttitor donec, blandit scelerisque mattis cras quis mi, aliquam sagittis. Convallis placerat commodo imperdiet varius nunc tempus urna vitae ultrices tristique eu mi ornare velit donec, posuere laoreet pretium vitae porta augue porta feugiat in sapien egestas. Quam odio nullam pulvinar litora curabitur amet lacus sociosqu gravida ligula molestie dui netus fusce bibendum scelerisque, dictum malesuada proin elit etiam aliquam, mattis euismod donec nisl facilisis." lexical_chunks(gsub("\n", "", text)) }