as.tcorpus.default: 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
## Default S3 method:
as.tcorpus(x, ...)

Arguments

x

the object to be forced

...

not used

Examples

1
2
3
4
5
## Not run: 
x = c('First text','Second text')
as.tcorpus(x) ## x is not a tCorpus object

## End(Not run)

kasperwelbers/corpustools documentation built on Sept. 1, 2018, 1:03 p.m.