I am getting special symbol in wordcloud I tried to remove them but no help

nohandles <- str_replace_all(newnarendratweets.df$text, "@\w+", "")
wordCorpus <- Corpus(VectorSource(nohandles))
wordCorpus <- tm_map(wordCorpus, removePunctuation)
wordCorpus <- tm_map(wordCorpus, content_transformer(tolower))
wordCorpus <- tm_map(wordCorpus, removeWords, stopwords("english"))
wordCorpus <- tm_map(wordCorpus, removeWords, c("amp", "2yo", "3yo", "4yo"))
wordCorpus <- tm_map(wordCorpus, stripWhitespace)
wordCorpus <- tm_map(wordCorpus,removeWords,c("के","की","को","को","है","मेà¤","का","और","है।", "से","ने","के के","की की "))
wordCorpus <- tm_map(wordCorpus,removeNumbers)

pal <- brewer.pal(9,"YlGnBu")
pal <- pal[-(1:4)]
set.seed(42)
dev.new(width = 1000, height = 1000, unit = "px")
wordcloud(words = wordCorpus,scale=c(4,0.5), max.words=100, random.order=FALSE,
rot.per=0.35, use.r.layout=FALSE, colors=pal)

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