I am struggling through some text analysis, and I'm not sure I'm doing the stemming correctly. Right now, my command for single-term stemming is
text_stem <- text_clean %>% mutate(stem = wordStem(word, language = "english"))
Is it possible to use this not only as a stemmer, but as a filter? For example, if "text_clean" contains the word aksdjhgla and that word is not in whatever SnowballC uses as a dictionary, the stemmed text would reject it? Maybe there's another command that does this kind of filtering?