kRpSource: A source function for tm
Description
An rather untested attempt to sketch a Source
function for tm
.
Supposed to be used to translate tagged koRpus
objects into tm
objects.
Usage
kRpSource(obj, encoding = "UTF-8")
Arguments
obj
An object of class kRp.text
(a class union for tagged text objects).
encoding
Character string, defining the character encoding of the object.
Value
An object of class Source
,
also inheriting class kRpSource
.
Details
Also provided are the methods getElem
and pGetElem
for S3 class kRpSource
.