search for: path_to_neg_fold

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

Did you mean: path_to_neg_folder
2017 Nov 07
0
Error when attempting to see "Corpus" metadata
...his 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 in UseMethod("meta", x) : no applicable method for 'meta' applied to an object of class "character&qu...