I am new to R.I am trying to know about Corpus()
method.
This is the code i wrote.
library(tm)
my_obj<-"learning about corpus method"
corp<-Corpus(VectorSource(my_obj))
corp
I thought the output of this code should be the structured text that is prepared by the Corpus
method. But the output is :-
<<VCorpus>>
Metadata: corpus specific: 0, document level (indexed): 0
Content: documents: 1
Can someone explain what corpus method does in R ?