Class to convert the data field of an Instance
to lower case.
This class inherits from GenericPipe
and implements the
pipe
abstract function.
bdpar::GenericPipe
-> ToLowerCasePipe
new()
Creates a ToLowerCasePipe
object.
ToLowerCasePipe$new(
propertyName = "",
alwaysBeforeDeps = list(),
notAfterDeps = list()
)
propertyName
A character
value. Name of the property
associated with the GenericPipe
.
alwaysBeforeDeps
A list
value. The dependencies
alwaysBefore (GenericPipes
that must be executed before
this one).
notAfterDeps
A list
value. The dependencies
notAfter (GenericPipes
that cannot be executed after
this one).
pipe()
Preprocesses the Instance
to convert the
data to lower case.
ToLowerCasePipe$pipe(instance)
instance
A Instance
value. The Instance
to preprocess.
The Instance
with the modifications that have
occurred in the pipe.
toLowerCase()
Converts the data to lower case
ToLowerCasePipe$toLowerCase(data)
data
A character
value. Text to preprocess.
The data in lower case.
clone()
The objects of this class are cloneable with this method.
ToLowerCasePipe$clone(deep = FALSE)
deep
Whether to make a deep clone.
AbbreviationPipe
, ContractionPipe
,
File2Pipe
, FindEmojiPipe
,
FindEmoticonPipe
, FindHashtagPipe
,
FindUrlPipe
, FindUserNamePipe
,
GuessDatePipe
, GuessLanguagePipe
,
Instance
, InterjectionPipe
,
MeasureLengthPipe
, GenericPipe
,
ResourceHandler
, SlangPipe
,
StopWordPipe
, StoreFileExtPipe
,
TargetAssigningPipe
, TeeCSVPipe