search for: path_to_pos_fold

Displaying 1 result from an estimated 1 matches for "path_to_pos_fold".

Did you mean: path_to_pos_folder
2017 Nov 07
0
Error when attempting to see "Corpus" metadata
...es (nb_pos and nb_neg) in the following line nb_all <- c(nb_pos,nb_neg,recursive=TRUE) # anyone see anything wrong with this line of code -------------------------------------------------- > library("tm") Loading required package: NLP > nb_pos <- Corpus(DirSource(path_to_pos_folder), readerControl = list(language="en")) # appears to be correct > nb_neg <- Corpus(DirSource(path_to_neg_folder), readerControl = list(language="en")) # appears to be correct > nb_all <- c(nb_pos,nb_neg,recursive=TRUE) > > meta(nb_all[[1]]) Error...