kRpSource {tm.plugin.koRpus}R Documentation

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.

Details

Also provided are the methods getElem and pGetElem for S3 class kRpSource.

Value

An object of class Source, also inheriting class kRpSource.


[Package tm.plugin.koRpus version 0.4-2 Index]