summaryrefslogtreecommitdiff
path: root/decoder/ff_const_reorder.cc
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-12-06 12:17:27 -0500
committerWu, Ke <wuke@cs.umd.edu>2014-12-06 12:17:27 -0500
commit16827862bcc4f04ada087abc255c6604d88076c1 (patch)
tree394f8585409ca2d132fc1400c906c39df43613e6 /decoder/ff_const_reorder.cc
parenta21959213f9b1cc15befae52dbb5091e848de7a1 (diff)
Move non-MaxEnt code out of utils
1. alignment.h, argument_reorder_model.h, src_sentence.h, tree.h, tsuruoka_maxent.h -> decoder/ff_const_reorder_common.h. 2. Trainers source files (argument_reorder_model.cc and constituent_reorder_model.cc) are moved to training/const_reorder.
Diffstat (limited to 'decoder/ff_const_reorder.cc')
-rw-r--r--decoder/ff_const_reorder.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/decoder/ff_const_reorder.cc b/decoder/ff_const_reorder.cc
index 8da551c6..e4fb4725 100644
--- a/decoder/ff_const_reorder.cc
+++ b/decoder/ff_const_reorder.cc
@@ -4,11 +4,8 @@
#include "stringlib.h"
#include "hg.h"
#include "sentence_metadata.h"
-#include "tree.h"
-#include "srl_sentence.h"
-#include "tsuruoka_maxent.h"
#include "hash.h"
-#include "argument_reorder_model.h"
+#include "ff_const_reorder_common.h"
#include <sstream>
#include <string>
@@ -16,6 +13,7 @@
#include <stdio.h>
using namespace std;
+using namespace const_reorder;
typedef HASH_MAP<std::string, vector<double> > MapClassifier;