as.tcorpus.tCorpus: Force an object to be a tCorpus class

Description Usage Arguments Examples

View source: R/1_tcorpus.r

Description

Force an object to be a tCorpus class

Usage

1
2
## S3 method for class 'tCorpus'
as.tcorpus(x, ...)

Arguments

x

the object to be forced

...

not used

Examples

1
2
tc = create_tcorpus(c('First text', 'Second text'))
as.tcorpus(tc)

kasperwelbers/corpustools documentation built on Dec. 5, 2018, 9:11 a.m.