segment: Segment

Description Usage Arguments Format Methods Author(s) See Also

Description

Segment Segments a Corpus into n equal units of a designated size.

Usage

1

Arguments

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.

Format

An object of class R6ClassGenerator of length 24.

Methods

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other Corpus Sample Family of Classes: KFold, Sample0, Sample

Other CorpusStudio Family of Classes: CorpusStudio, KFold, Sample0, Sample, Split, TokenizerNLP, TokenizerQ, Tokenizer, Token


DecisionScients/NLPStudio documentation built on May 15, 2019, 12:51 p.m.