Stopword() error

Everytime I try that stopword function it doesn’t work… but if I replace that code section with that „
tdm= TermDocumentMatrix (my_ corpus, control = list (removePunctuation = TRUE,

stopwords = c ("SDSU", "project", stopwords ("english")) ,

removeNumbers = TRUE, tolower = TRUE) )“
it works. But I need to cut the words big and data…

The error is trying to tell you it doesn’t recognize the character before Big - it looks like a quote but isn’t one. Notice how it looks different than the other quotes. If you copied and pasted this list from a different program that is probably what happened. Try replacing the quotes in your stopword vector for Big and Data and run again

1 Like

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.