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

View source: R/1_tcorpus.r

as.tcorpus.tCorpusR 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)

corpustools documentation built on May 31, 2023, 8:45 p.m.