Should textfile pick up document names? In quanteda 0.9.7-17 (CRAN's current version) on R 3.3.0 it does not.
corp <- corpus(textfile("folder/*.txt"))
summary(corp)
Corpus consisting of 12 documents.
Text Types Tokens Sentences
text1 2112 17094 798
text2 522 1896 89
text3 1379 6439 290
text4 650 2612 143
text5 715 2300 125
text6 400 1206 53
text7 641 2891 162
text8 460 1473 71
text9 413 1256 66
text10 455 1201 59
text11 1502 9805 422
text12 643 2177 106
...
It requires a subsequent docnames argument.
Should
textfilepick up document names? Inquanteda0.9.7-17 (CRAN's current version) on R 3.3.0 it does not.It requires a subsequent
docnamesargument.