Description Usage Arguments Value Examples
View source: R/coerce_subtitles.R
This function extracts the raw text content of subtitles objects as a character string.
1 | get_raw_text(x, collapse = " ")
|
x |
an object of class |
collapse |
a character string to separate the subtitles lines. |
A character string.
1 2 3 4 | f <- system.file("extdata", "ex_subrip.srt", package = "subtools")
s <- read_subtitles(f)
get_raw_text(s)
cat(get_raw_text(s, collapse = "\n"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.