I got an error message in RStudio. How can I solve this problem? Thank you.
all_stops <- c("the", "Cafestopwords", "en")
lords <- tm_map(lords, removeWords, stopwords(all_stops))
Error: Language "bm" not available in source "snowball"
In addition, there are warning messages:
1. In if (nchar(language) > 2) { :
the condition has length > 1 and only the first element will be used
2. In if (nchar(language_name) <= 2) { :
the condition has length > 1 and only the first element will be used
3. In grepl(language_name, language_data[["Name"]], ignore.case = TRUE) :
argument 'pattern' has length > 1 and only the first element will be used