I used "R and Data Mining: Examples and Case Studies"
My question is about Stemming Words: Chapter 10 Section 10.3
When I run the code:
myCorpus <- tm_map(myCorpus, stemCompletion, dictionary = myCorpusCopy)
I got the Warning message:
In mclapply(content(x), FUN, …) : all scheduled cores encountered errors in user code
When I run the code: inspect(myCorpus[11:15])
I got messages: "Error in UseMethod(\"words\") : \n no applicable method for 'words' applied to an object of class \"character\"\n" attr(,"class") "try-error" attr(,"condition")
The following link is a reproducible example which you can copy/paste into R and run.
How can I solve the problem?
I'll be grateful with any help and appreciate the time you spend. :-)