FindEmoticonPipe: Class to find and/or remove the emoticon 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 emoticons that are in it. Optionally, you can decide whether to remove the data emoticons or not.

Usage

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

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 emoticonPattern variable is used to identify emoticons.

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.