[x] separate files for each red-list. Part of the datasets folder
[x] read + feed it to the swt.getStopwords function
[x] Slice the list on i.e. 500 words in the beginning. Then you'll know if it is good to push further with more redlisted words to "get to" stopwords later in the list/array.
The final list should probably/hopefully contain 200 - 300 words.
Think slicing shoul be part of swt.getStopwords function.
So from swt.getStopwords(wordsCounted.words, redlist) to swt.getStopwords(wordsCounted.words, redlist, maxWords) where maxWords is an integer.
swt.getStopwords
functionThe final list should probably/hopefully contain 200 - 300 words.