Twitter-L-LDA icon indicating copy to clipboard operation
Twitter-L-LDA copied to clipboard

Issue with stopword check in Stopwords.java

Open jerisalan opened this issue 6 years ago • 1 comments

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;

jerisalan avatar Apr 22 '18 06:04 jerisalan

It should be replaced with if(isStopword(word)) continue;

cherrypint avatar Nov 15 '19 15:11 cherrypint