Description Usage Arguments Examples
Divides the input into sentences. The response contains a list of sentences.
1 | ros_sentences(content, genre = NULL, language = NULL)
|
content |
either a URI or character vector of content to process |
genre |
document genre (optional) |
language |
Language: ISO 639-3 code (optional) |
1 2 3 4 5 6 7 8 9 | lines <- c("This land is your land. This land is my land",
"From California to the New York island;",
"From the red wood forest to the Gulf Stream waters",
"", "This land was made for you and Me.",
"", "As I was walking that ribbon of highway,",
"I saw above me that endless skyway:",
"I saw below me that golden valley:",
"This land was made for you and me.")
ros_sentences(paste0(lines, collapse="\\n"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.