Description Usage Arguments Value See Also Examples
A function for reading selected ToN texts to a corpus. Builds on
1 | ton_corpus(tonFolder, ids, cores = NULL)
|
tonFolder |
Character vector specifying either absolute or relative path to the talk-of-norway repository folder |
cores |
Integer specifying number of words longer than six letters in a document |
id |
Character string specifying id of the file to read into R. |
a object of class corpus containing the speeches specified by the ids
value. See quanteda
for details.
1 2 3 | test <- ton_corpus(tonFolder = "../talk-of-norway/", ids = c("tale000005", "tale000006"))
summary(test)
quanteda::docnames(test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.