Description Usage Arguments Value
View source: R/snippets_make.R
Create text segments of a defined length, for comparisons.
1 2 3 4 5 6 7 | snippets_make(x, ...)
## S3 method for class 'character'
snippets_make(x, ...)
## S3 method for class 'corpus'
snippets_make(x, nsentences = 1, minchar = 100, maxchar = 350, ...)
|
x |
input objects, texts or a quanteda corpus |
... |
not used |
nsentences |
length in sentences of each snippet |
minchar |
minimum length in characters of a snippet |
maxchar |
maximum length in characters of a snippet |
a data.frame of snippets, with a unique indentifier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.