summaryrefslogtreecommitdiff
path: root/extractor/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/rule.h')
-rw-r--r--extractor/rule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/rule.h b/extractor/rule.h
index 64ff8794..b4d45fc1 100644
--- a/extractor/rule.h
+++ b/extractor/rule.h
@@ -7,6 +7,8 @@
using namespace std;
+namespace extractor {
+
struct Rule {
Rule(const Phrase& source_phrase, const Phrase& target_phrase,
const vector<double>& scores, const vector<pair<int, int> >& alignment);
@@ -17,4 +19,6 @@ struct Rule {
vector<pair<int, int> > alignment;
};
+} // namespace extractor
+
#endif