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
commitbbcd1a02103fa4d9f4dcdc605d438c13e0dc7085 (patch)
treeb1d265b5e9f6f6562c8379f58bf45cfc146eac1d /extractor/features
parent5116d987802eac66ef2d5dbbc9a3546665c9e8e3 (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;