summaryrefslogtreecommitdiff
path: root/src/Chapter4/classification/bayes/WordCountPair.java
diff options
context:
space:
mode:
authorMaurice Laveaux <m.laveaux@student.tue.nl>2014-05-22 16:33:24 +0200
committerMaurice Laveaux <m.laveaux@student.tue.nl>2014-05-22 16:33:24 +0200
commit4f32eedd2bd49837cc297acce399c108e8b558a7 (patch)
treee80ceb3fdf38db9552b52bd7f0c6b209c6c4bc28 /src/Chapter4/classification/bayes/WordCountPair.java
parent1da00321db0aa8c412c3ff1dff5734962ee49240 (diff)
downloadTwitterDataAnalytics-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.java34
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;
- }
-
-}