Description Usage Arguments Format Details Value Core Methods Author(s)
CVKN
Class containing training, test and an optional validation corpora objects.
1 |
name |
Character string containing the name for the CVKN object. |
purpose |
Character string used to indicate how the document will be used, e.g. 'train', 'test'. |
note |
Character string containing a comment associated with a call to the text method. The texts of the note variable are written to the CVKNs log. This is used to track changes to the text, perhaps made during preprocessing. |
An object of class R6ClassGenerator
of length 24.
Class conitains a cross-validation set of corpora objects. CVKN objects are collections including a training, test, and an optional validation Corpus objects.
CVKN object, containing the CVKN text, the metadata and the methods to manage both.
new(name = NULL)
Initializes an object of the CVKN class.
text(x, note = NULL)
Method for obtaining/adding/updating text. If no
parameters are presented, the current text is returned. Otherwise, the text
is updated with the texts of the character vector 'x'. Sentence, word, token, type,
sentence and word length statistics are also computed and the metadata is updated
accordingly.
summary()
Summarizes the CVKN object.
John James, jjames@datasciencesalon.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.