as.tcorpus.tCorpus {corpustools}R Documentation

Force an object to be a tCorpus class

Description

Force an object to be a tCorpus class

Usage

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

Arguments

x

the object to be forced

...

not used

Examples

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

[Package corpustools version 0.4.10 Index]