DefaultPipeline {bdpar} | R Documentation |
Class implementing a default pipelining process.
Description
This DefaultPipeline
class inherits from the
GenericPipeline
class. Includes the execute method which
provides a default pipelining implementation.
Details
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()
Inherit
This class inherits from GenericPipeline
and implements the
execute
abstract function.
Super class
bdpar::GenericPipeline
-> DefaultPipeline
Methods
Public methods
Method new()
Creates a DefaultPipeline
object.
Usage
DefaultPipeline$new()
Method execute()
Function where is implemented the flow of the
GenericPipes
.
Usage
DefaultPipeline$execute(instance)
Arguments
Returns
The preprocessed Instance
.
Method get()
Gets a list with containing the set of
link{GenericPipe}s
of the pipeline,
Usage
DefaultPipeline$get()
Returns
The set of GenericPipes
containing the pipeline.
Method print()
Prints pipeline representation. (Override print function)
Usage
DefaultPipeline$print(...)
Arguments
...
Further arguments passed to or from other methods.
Method toString()
Returns a character
representing the pipeline
Usage
DefaultPipeline$toString()
Returns
DefaultPipeline
character
representation
Method clone()
The objects of this class are cloneable with this method.
Usage
DefaultPipeline$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
bdpar.log
, Instance
,
DynamicPipeline
, GenericPipeline
,
GenericPipe
, %>|%