summaryrefslogtreecommitdiff
path: root/extractor/rule.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
commite1ffc4886b98f7ddcd2ec30d740aa2de8282cd8e (patch)
treeca51b9fc3b61f4177caaef467c9add26737cfc49 /extractor/rule.cc
parenta283adae755aa8617119afb283b9b874f64cf911 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/rule.cc')
-rw-r--r--extractor/rule.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/rule.cc b/extractor/rule.cc
index 9c7ac9b5..b6c7d783 100644
--- a/extractor/rule.cc
+++ b/extractor/rule.cc
@@ -1,5 +1,7 @@
#include "rule.h"
+namespace extractor {
+
Rule::Rule(const Phrase& source_phrase,
const Phrase& target_phrase,
const vector<double>& scores,
@@ -8,3 +10,5 @@ Rule::Rule(const Phrase& source_phrase,
target_phrase(target_phrase),
scores(scores),
alignment(alignment) {}
+
+} // namespace extractor