| ToLowerCasePipe {bdpar} | R Documentation |
Class to convert the data field of an Instance to lower case
Description
Class to convert the data field of an Instance
to lower case.
Inherit
This class inherits from GenericPipe and implements the
pipe abstract function.
Super class
bdpar::GenericPipe -> ToLowerCasePipe
Methods
Public methods
Inherited methods
Method new()
Creates a ToLowerCasePipe object.
Usage
ToLowerCasePipe$new( propertyName = "", alwaysBeforeDeps = list(), notAfterDeps = list() )
Arguments
propertyNameA
charactervalue. Name of the property associated with theGenericPipe.alwaysBeforeDepsA
listvalue. The dependencies alwaysBefore (GenericPipesthat must be executed before this one).notAfterDepsA
listvalue. The dependencies notAfter (GenericPipesthat cannot be executed after this one).
Method pipe()
Preprocesses the Instance to convert the
data to lower case.
Usage
ToLowerCasePipe$pipe(instance)
Arguments
Returns
The Instance with the modifications that have
occurred in the pipe.
Method toLowerCase()
Converts the data to lower case
Usage
ToLowerCasePipe$toLowerCase(data)
Arguments
dataA
charactervalue. Text to preprocess.
Returns
The data in lower case.
Method clone()
The objects of this class are cloneable with this method.
Usage
ToLowerCasePipe$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
AbbreviationPipe, ContractionPipe,
File2Pipe, FindEmojiPipe,
FindEmoticonPipe, FindHashtagPipe,
FindUrlPipe, FindUserNamePipe,
GuessDatePipe, GuessLanguagePipe,
Instance, InterjectionPipe,
MeasureLengthPipe, GenericPipe,
ResourceHandler, SlangPipe,
StopWordPipe, StoreFileExtPipe,
TargetAssigningPipe, TeeCSVPipe