1 year ago
#224880
cottinR
Produce a graph of words from a corpus
Creating a corpus from this process:
mystopwords <- c("can")
myDfm <- myCorpus %>%
tokens(remove_punct = TRUE, remove_numbers = TRUE, remove_symbols = TRUE) %>%
tokens_remove(pattern = c(stopwords(source = "smart"), mystopwords)) %>%
dfm(verbose = FALSE)
Is there any possibility to produce a graph like this one
r
quanteda
0 Answers
Your Answer