summaryrefslogtreecommitdiff
path: root/src/Chapter4/classification/bayes/StopwordsList.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Chapter4/classification/bayes/StopwordsList.java')
-rw-r--r--src/Chapter4/classification/bayes/StopwordsList.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Chapter4/classification/bayes/StopwordsList.java b/src/Chapter4/classification/bayes/StopwordsList.java
deleted file mode 100644
index 06edd5a..0000000
--- a/src/Chapter4/classification/bayes/StopwordsList.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package Chapter4.classification.bayes;
-
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Set;
-
-public class StopwordsList {
- private static final String[] stopwords = {"a", "about", "above", "after", "again", "against", "all", "am", "an", "and", "any", "are", "as", "at", "be", "because", "been", "before", "being", "below", "between", "both", "but", "by", "can", "did", "do", "does", "doing", "don", "down", "during", "each", "few", "for", "from", "further", "get", "had", "has", "have", "having", "he", "her", "here", "hers", "herself", "him", "himself", "his", "how", "i", "if", "im", "i'm", "in", "into", "is", "it", "its", "itself", "just", "me", "more", "most", "my", "myself", "no", "nor", "not", "now", "of", "off", "on", "once", "only", "or", "other", "our", "ours", "ourselves", "out", "over", "own", "rt", "s", "same", "she", "should", "so", "some", "such", "t", "than", "that", "the", "their", "theirs", "them", "themselves", "then", "there", "these", "they", "this", "those", "through", "to", "too", "under", "until", "up", "us", "very", "was", "we", "were", "what", "when", "where", "which", "while", "who", "whom", "why", "will", "with", "you", "your", "yours", "yourself", "yourselves"};
- public static final Set<String> stopwordsSet = new HashSet<String>(Arrays.asList(stopwords));
-}