We use cookies essential for this site to function well. Please click to help
us improve its usefulness with additional cookies. Learn about our use of cookies in our Privacy Policy.
I wonder that this function take as input a set of text file tokenize each one and save it with thesame name… but it resave the same reading files with no modification
crop <-lapply(corp, function(x) tokenize_ngrams(x, n = 6, n_min = 1))
writeCorpus(corp)
when I apply any function on this corpus ( tolower, delete stopwords…) and export it, it works pretty well .
when I apply the tokenization function; if i print the corp on the Rstudio… it shows me what I want but when I export the corpus, i dont find the tokens tables shows before, i find the same corpus with it plain text