diff --git a/util/Stopwords.java b/util/Stopwords.java index 4c21e22..e9c7247 100644 --- a/util/Stopwords.java +++ b/util/Stopwords.java @@ -36,7 +36,7 @@ public static String removeStopWords(String string) { String[] words = string.split("\\s+"); for(String word : words) { if(word.isEmpty()) continue; - if(isStopword(string)) continue; //remove stopwords + if(isStopword(word)) continue; //remove stopwords result += (word+" "); } return result;