DefaultPipeline: Class implementing a default pipelining process.

Description Details Inherit Super class Methods See Also

Description

This DefaultPipeline class inherits from the GenericPipeline class. Includes the execute method which provides a default pipelining implementation.

Details

The default flow is:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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

Inherited 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
instance

A Instance value. The Instance that is going to be processed.

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, %>|%


bdpar documentation built on June 24, 2021, 5:06 p.m.