# some operations on the inaugural corpus
summary(data_corpus_inaugural)
head(docvars(data_corpus_inaugural), 10)
# working with the character vector only
str(data_char_inaugural)
head(docvars(data_corpus_inaugural), 10)
mycorpus <- corpus(data_char_inaugural)
Run the code above in your browser using DataLab