diff options
author | Maurice Laveaux <m.laveaux@student.tue.nl> | 2014-05-22 16:33:24 +0200 |
---|---|---|
committer | Maurice Laveaux <m.laveaux@student.tue.nl> | 2014-05-22 16:33:24 +0200 |
commit | 4f32eedd2bd49837cc297acce399c108e8b558a7 (patch) | |
tree | e80ceb3fdf38db9552b52bd7f0c6b209c6c4bc28 /src/Chapter4/classification/bayes/WordCountPair.java | |
parent | 1da00321db0aa8c412c3ff1dff5734962ee49240 (diff) | |
download | TwitterDataAnalytics-4f32eedd2bd49837cc297acce399c108e8b558a7.tar.gz |
Removed unused source files
* Removed the shitty examples.
Diffstat (limited to 'src/Chapter4/classification/bayes/WordCountPair.java')
-rw-r--r-- | src/Chapter4/classification/bayes/WordCountPair.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/Chapter4/classification/bayes/WordCountPair.java b/src/Chapter4/classification/bayes/WordCountPair.java deleted file mode 100644 index b96be92..0000000 --- a/src/Chapter4/classification/bayes/WordCountPair.java +++ /dev/null @@ -1,34 +0,0 @@ -package Chapter4.classification.bayes; - -public class WordCountPair implements Comparable<WordCountPair>{ - - - private String word; - private double count; - - public WordCountPair(String word, double count){ - this.word = word; - this.count = count; - } - - public int compareTo(WordCountPair arg0) { - return arg0.count - count < 0 ? -1 : 1; - } - - public String getWord() { - return word; - } - - public void setWord(String word) { - this.word = word; - } - - public double getCount() { - return count; - } - - public void setCount(int count) { - this.count = count; - } - -} |