Description Usage Arguments Format Details Value Methods Author(s) See Also
Token
Tokens class
1 |
x |
Corpus object or a character vector containing text |
n |
Numeric for the nGram method. Indicates the nGram size. |
An object of class R6ClassGenerator
of length 24.
Creates character, word, sentence and paragraph tokens and nGrams using the tokenizer package.
Tokenizer object
new()
Initializes an object of the Tokenizer class.
character(x)
word(x)
sentence(x)
paragraph(x)
nGrams(x, n)
John James, jjames@datasciencesalon.org
Other Corpus Tokenizer Family of Classes: Tokenizer
Other CorpusStudio Family of Classes: CorpusStudio
,
KFold
, Sample0
,
Sample
, Segment
,
Split
, TokenizerNLP
,
TokenizerQ
, Tokenizer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.