Description Usage Format Director methods Author(s)
Director
Class responsible for executing an NLP Pipeline
1 |
An object of class R6ClassGenerator
of length 24.
new()
Method for instantiating a Director.
addCommand()
Method that adds a text processing command to the queue.
removeCommand()
Method that removes a command from the queue.
validate()
Method that validates inputs/outputs at each stage of pipeline
execute()
Method that executes the job queue.
printTasks()
Prints task list.
getResult()
Method that returns the object following execution of the job queue.
@param x Character vector containing a directory,a Corpus object, quanteda corpus, tm VCorpus object, a FileSet or a series of character vectors containing text. This is the seed object for the Director - the initial object that serves as input for the first command. @param cmd The class encapsulating a particular command.
John James, jjames@datasciencesalon.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.