From aa5f96417ff81408b15b54aab35a3c16b845adf8 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Mon, 29 Aug 2011 22:02:45 +0200
Subject: big update: working iterating, pretty output, test scripts and more
---
dtrain/common.h | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
(limited to 'dtrain/common.h')
diff --git a/dtrain/common.h b/dtrain/common.h
index cf365d48..706f51c2 100644
--- a/dtrain/common.h
+++ b/dtrain/common.h
@@ -7,7 +7,9 @@
#include
#include
#include
+#include
+// cdec includes
#include "sentence_metadata.h"
#include "verbose.h"
#include "viterbi.h"
@@ -16,16 +18,19 @@
#include "decoder.h"
#include "weights.h"
+// boost includes
#include
#include
+// own headers
#include "score.h"
-#define DTRAIN_DEFAULT_K 100
-#define DTRAIN_DEFAULT_N 4
-#define DTRAIN_DEFAULT_T 1
-
-#define DTRAIN_DOTOUT 100
+#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 "/tmp" // put this on a SSD?
using namespace std;
--
cgit v1.2.3