powered by
texts(x, ...)## S3 method for class 'corpus': texts(x, groups = NULL, ...)## S3 method for class 'corpusSource': texts(x, groups = NULL, ...)
## S3 method for class 'corpus': texts(x, groups = NULL, ...)
## S3 method for class 'corpusSource': texts(x, groups = NULL, ...)
texts
For texts <-, the corpus with the updated texts.
texts <-
texts(inaugCorpus)[1] sapply(texts(inaugCorpus), nchar) # length in characters of the inaugual corpus texts str(texts(ie2010Corpus, groups = "party"))
Run the code above in your browser using DataLab