Twitter-L-LDA
Twitter-L-LDA copied to clipboard
Issue with stopword check in Stopwords.java
In line #39 within file Stopwords.java, you are supposed to check if each word in the string is a stopword or not. In the current version of the code, it seems like the the entire string is being evaluated to see if it is a stopword which is wrong. Here is the wrong snippet,
if(isStopword(string)) continue;
which should be changed to:
if(isStopword(string)) continue;
It should be replaced with
if(isStopword(word)) continue;