DefaultPipeline | R Documentation |
This DefaultPipeline
class inherits from the
GenericPipeline
class. Includes the execute method which
provides a default pipelining implementation.
The default flow is:
instance %>|% TargetAssigningPipe$new() %>|% StoreFileExtPipe$new() %>|% GuessDatePipe$new() %>|% File2Pipe$new() %>|% MeasureLengthPipe$new(propertyName = "length_before_cleaning_text") %>|% FindUserNamePipe$new() %>|% FindHashtagPipe$new() %>|% FindUrlPipe$new() %>|% FindEmoticonPipe$new() %>|% FindEmojiPipe$new() %>|% GuessLanguagePipe$new() %>|% ContractionPipe$new() %>|% AbbreviationPipe$new() %>|% SlangPipe$new() %>|% ToLowerCasePipe$new() %>|% InterjectionPipe$new() %>|% StopWordPipe$new() %>|% MeasureLengthPipe$new(propertyName = "length_after_cleaning_text") %>|% TeeCSVPipe$new()
This class inherits from GenericPipeline
and implements the
execute
abstract function.
bdpar::GenericPipeline
-> DefaultPipeline
new()
Creates a DefaultPipeline
object.
DefaultPipeline$new()
execute()
Function where is implemented the flow of the
GenericPipes
.
DefaultPipeline$execute(instance)
instance
A Instance
value. The Instance
that is going to be processed.
The preprocessed Instance
.
get()
Gets a list with containing the set of
link{GenericPipe}s
of the pipeline,
DefaultPipeline$get()
The set of GenericPipes
containing the pipeline.
print()
Prints pipeline representation. (Override print function)
DefaultPipeline$print(...)
...
Further arguments passed to or from other methods.
toString()
Returns a character
representing the pipeline
DefaultPipeline$toString()
DefaultPipeline
character
representation
clone()
The objects of this class are cloneable with this method.
DefaultPipeline$clone(deep = FALSE)
deep
Whether to make a deep clone.
bdpar.log
, Instance
,
DynamicPipeline
, GenericPipeline
,
GenericPipe
, %>|%
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.