Description Usage Arguments Format Methods Author(s) See Also
Segment
Segments a Corpus into n equal units of a designated size.
1 |
x |
Corpus object. |
n |
Numeric of indicating the number of units to include in each segment. |
size |
Numeric indicating the size of each units to include in each segment |
stratify |
Logical. If TRUE (default), Segments will be taken from each document in accordance with the proportions or counts indicated in the 'n' parameter. |
seed |
Numeric used to initialize a pseudorandom number generator. |
An object of class R6ClassGenerator
of length 24.
new()
Not implemented.
John James, jjames@datasciencesalon.org
Other Corpus Sample Family of Classes: KFold
,
Sample0
, Sample
Other CorpusStudio Family of Classes: CorpusStudio
,
KFold
, Sample0
,
Sample
, Split
,
TokenizerNLP
, TokenizerQ
,
Tokenizer
, Token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.