I am trying to create bigrams with both words stemmed. But my code is only stemming the second word, leaving the first word unstemmed. So, for example, "worrying about" and "worry about" are listed separately.
Any assistance would be appreciated.
bigram_text <- text_df %>%
mutate_all(as.character) %>%
unnest_tokens(bigram, text, token = "ngrams", n = 2)%>%
mutate(bigram = wordStem(bigram))
bigramcount<- bigram_text %>%
count(bigram, sort = TRUE)