| File2Pipe {bdpar} | R Documentation |
Class to obtain the source field of an Instance
Description
Obtains the source using the method which implements the
subclass of Instance.
Note
File2Pipe will automatically invalidate the
Instance whenever the obtained source is empty or not in UTF-8 format.
Inherit
This class inherits from GenericPipe and implements the
pipe abstract function.
Super class
bdpar::GenericPipe -> File2Pipe
Methods
Public methods
Inherited methods
Method new()
Creates a File2Pipe object.
Usage
File2Pipe$new(
propertyName = "source",
alwaysBeforeDeps = list("TargetAssigningPipe"),
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 obtain the
source.
Usage
File2Pipe$pipe(instance)
Arguments
Returns
The Instance with the modifications that have
occurred in the pipe.
Method clone()
The objects of this class are cloneable with this method.
Usage
File2Pipe$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
AbbreviationPipe, ContractionPipe,
FindEmojiPipe, FindEmoticonPipe,
FindHashtagPipe, FindUrlPipe,
FindUserNamePipe, GuessDatePipe,
GuessLanguagePipe, Instance,
InterjectionPipe, MeasureLengthPipe,
GenericPipe, SlangPipe,
StopWordPipe, StoreFileExtPipe,
TargetAssigningPipe, TeeCSVPipe,
ToLowerCasePipe