Learn R Programming

bdpar (version 2.0.0)

TeeCSVPipe: Class to handle a CSV with the properties field of the preprocessed Instance

Description

Complete a CSV with the properties of the preprocessed Instance.

Usage

TeeCSVPipe

Arguments

Constructor

TeeCSVPipe$new(propertyName = "",
               alwaysBeforeDeps = list(),
               notAfterDeps = list(),
               withData = TRUE,
               withSource = TRUE)
  • Arguments

    • propertyName: (character) name of the property associated with the Pipe.

    • alwaysBeforeDeps: (list) the dependences alwaysBefore (Pipes that must be executed before this one).

    • notAfterDeps: (list) the dependences notAfter (Pipes that cannot be executed after this one).

    • withData: (logical) indicates if the data is added to CSV.

    • withSource: (logical) indicates if the source is added to CSV.

Inherit

This class inherits from GenericPipe and implements the pipe abstract function.

Methods

  • pipe: completes the CSV with the preprocessed Instance.

    • Usage: pipe(instance)

    • Value: the Instance with the modifications that have occurred in the Pipe.

    • Arguments:

      • instance: (Instance) Instance to preproccess.

Private fields

  • withSource: (logical) indicates if the source is added to CSV.

  • withData: (logical) indicates if the data is added to CSV.

Details

The path to save the properties should be defined in the "teeCSVPipe.output.path" field of bdpar.Options variable.

See Also

AbbreviationPipe, bdpar.Options, ContractionPipe, File2Pipe, FindEmojiPipe, FindEmoticonPipe, FindHashtagPipe, FindUrlPipe, FindUserNamePipe, GuessDatePipe, GuessLanguagePipe, Instance, InterjectionPipe, MeasureLengthPipe, GenericPipe, ResourceHandler, SlangPipe, StopWordPipe, StoreFileExtPipe, TargetAssigningPipe, ToLowerCasePipe