summaryrefslogtreecommitdiff
path: root/extractor/features
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 17:13:13 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 17:13:13 +0000
commit41b2aae5cf08899da5c46e944ead4ddf6639a3f0 (patch)
tree4a68011a4f7780e24a573f06a8437de0742c5d6f /extractor/features
parent892b0820ce03268bf4c55bed8a8f697009f67f36 (diff)
Fix broken test & includes.
Diffstat (limited to 'extractor/features')
-rw-r--r--extractor/features/feature.h3
-rw-r--r--extractor/features/max_lex_source_given_target.cc4
-rw-r--r--extractor/features/max_lex_source_given_target_test.cc8
-rw-r--r--extractor/features/max_lex_target_given_source.cc4
-rw-r--r--extractor/features/max_lex_target_given_source_test.cc8
5 files changed, 13 insertions, 14 deletions
diff --git a/extractor/features/feature.h b/extractor/features/feature.h
index de2827bc..6693ccbf 100644
--- a/extractor/features/feature.h
+++ b/extractor/features/feature.h
@@ -3,8 +3,7 @@
#include <string>
-//TODO(pauldb): include headers nicely.
-#include "../phrase.h"
+#include "phrase.h"
using namespace std;
diff --git a/extractor/features/max_lex_source_given_target.cc b/extractor/features/max_lex_source_given_target.cc
index 3ffe598c..65d0ec68 100644
--- a/extractor/features/max_lex_source_given_target.cc
+++ b/extractor/features/max_lex_source_given_target.cc
@@ -2,8 +2,8 @@
#include <cmath>
-#include "../data_array.h"
-#include "../translation_table.h"
+#include "data_array.h"
+#include "translation_table.h"
namespace extractor {
namespace features {
diff --git a/extractor/features/max_lex_source_given_target_test.cc b/extractor/features/max_lex_source_given_target_test.cc
index c1edb483..7f6aae41 100644
--- a/extractor/features/max_lex_source_given_target_test.cc
+++ b/extractor/features/max_lex_source_given_target_test.cc
@@ -4,10 +4,10 @@
#include <memory>
#include <string>
-#include "../mocks/mock_translation_table.h"
-#include "../mocks/mock_vocabulary.h"
-#include "../data_array.h"
-#include "../phrase_builder.h"
+#include "data_array.h"
+#include "mocks/mock_translation_table.h"
+#include "mocks/mock_vocabulary.h"
+#include "phrase_builder.h"
#include "max_lex_source_given_target.h"
using namespace std;
diff --git a/extractor/features/max_lex_target_given_source.cc b/extractor/features/max_lex_target_given_source.cc
index 30140d80..33783054 100644
--- a/extractor/features/max_lex_target_given_source.cc
+++ b/extractor/features/max_lex_target_given_source.cc
@@ -2,8 +2,8 @@
#include <cmath>
-#include "../data_array.h"
-#include "../translation_table.h"
+#include "data_array.h"
+#include "translation_table.h"
namespace extractor {
namespace features {
diff --git a/extractor/features/max_lex_target_given_source_test.cc b/extractor/features/max_lex_target_given_source_test.cc
index 9ceb13e5..6d0efd9c 100644
--- a/extractor/features/max_lex_target_given_source_test.cc
+++ b/extractor/features/max_lex_target_given_source_test.cc
@@ -4,10 +4,10 @@
#include <memory>
#include <string>
-#include "../mocks/mock_translation_table.h"
-#include "../mocks/mock_vocabulary.h"
-#include "../data_array.h"
-#include "../phrase_builder.h"
+#include "data_array.h"
+#include "mocks/mock_translation_table.h"
+#include "mocks/mock_vocabulary.h"
+#include "phrase_builder.h"
#include "max_lex_target_given_source.h"
using namespace std;