Description Usage Arguments Value Examples
Extract the text supplied to the
term_count
object.
1 2 3 4 |
x |
A |
... |
|
Returns a vector or list of text strings.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(dplyr)
discoure_markers <- list(
response_cries = c("\\boh\\b", "\\bah\\b", "\\baha", "\\bouch", "yuk"),
back_channels = c("uh[- ]huh", "uhuh", "yeah"),
summons = "\\bhey",
justification = "because"
)
model <- presidential_debates_2012 %>%
with(term_count(dialogue, grouping.var = TRUE, discoure_markers))
get_text(model, 'summons')
get_text(model, 'response_cries')
get_text(model, c('summons', 'response_cries'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.