We assumed the set of stop words was available. There are many different sets of stop words and we can retrieve others. Extract the stop words from https://www.ranks. nl/resources/stopwords.html. Additionally, there is a collection of stop words for different languages in a zip archive at https://stop-words.googlecode.com/ files/stop-words-collection-2011.11.21.zip. Use the R Curl and R compression packages to retrieve and extract the files for your language and create the set of stop words from these.