summaryrefslogtreecommitdiff
path: root/dtrain/common.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-09-23 20:53:15 +0200
committerPatrick Simianer <p@simianer.de>2011-09-23 20:53:15 +0200
commitdc9fd7a3adc863510d79a718e919b6833a86729c (patch)
tree4baf0c6cadff000a20039994237ccaf468daee40 /dtrain/common.h
parent1ad0eb820ee946e5a142567380fc0488c9a5d6de (diff)
begin refactoring
Diffstat (limited to 'dtrain/common.h')
-rw-r--r--dtrain/common.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/dtrain/common.h b/dtrain/common.h
deleted file mode 100644
index 49dc85b7..00000000
--- a/dtrain/common.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef _DTRAIN_COMMON_H_
-#define _DTRAIN_COMMON_H_
-
-
-#include <sstream>
-#include <iostream>
-#include <vector>
-#include <cassert>
-#include <cmath>
-#include <iomanip>
-
-// cdec includes
-#include "sentence_metadata.h"
-#include "verbose.h"
-#include "viterbi.h"
-#include "kbest.h"
-#include "ff_register.h"
-#include "decoder.h"
-#include "weights.h"
-
-// boost includes
-#include <boost/algorithm/string.hpp>
-#include <boost/program_options.hpp>
-
-// own headers
-#include "score.h"
-
-#define DTRAIN_DEFAULT_K 100 // k for kbest lists
-#define DTRAIN_DEFAULT_N 4 // N for ngrams (e.g. BLEU)
-#define DTRAIN_DEFAULT_T 1 // iterations
-#define DTRAIN_DEFAULT_SCORER "stupid_bleu" // scorer
-#define DTRAIN_DOTS 100 // when to display a '.'
-#define DTRAIN_TMP_DIR "/var/hadoop/mapred/local" // put this on a SSD?
-#define DTRAIN_GRAMMAR_DELIM "########EOS########"
-
-
-using namespace std;
-using namespace dtrain;
-namespace po = boost::program_options;
-
-
-#endif
-