FindHashtagPipe: Class to find and/or remove the hashtags on the data

Description Usage Arguments Format Details Inherit Methods Public fields See Also

Description

This class allows you to preprocess the data of an instance to find the hashtags that are in it. Optionally, you can decide whether to remove the data hashtags or not.

Usage

1
2
3
FindHashtagPipe$new(propertyName = "hashtag",
                     alwaysBeforeDeps = list(),
                     notAfterDeps = list())

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).

Format

An object of class R6ClassGenerator of length 24.

Details

The regular expression indicated in the hashtagPattern variable is used to identify hashtags.

The pipe will invalidate the instance in the moment that the resulting data is empty.

Inherit

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

Methods

Public fields

See Also

PipeGeneric, Instance


miferreiro/bdp4R documentation built on May 20, 2019, 12:59 a.m.