## 21.3 Corpus Sources and Readers

There are a variety of sources supported by . We can use tm::getSources() to list them.

getSources()
## [1] "DataframeSource" "DirSource"       "URISource"       "VectorSource"
## [5] "XMLSource"       "ZipSource"

In addition to different kinds of sources of documents, our documents for text analysis will come in many different formats. A variety are supported by :

getReaders()
##  [1] "readDataframe"           "readDOC"
##  [9] "readTagged"              "readXML"