summaryrefslogtreecommitdiff
path: root/extractor/grammar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/grammar.cc')
-rw-r--r--extractor/grammar.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/grammar.cc b/extractor/grammar.cc
index 8124a804..8e5bcd45 100644
--- a/extractor/grammar.cc
+++ b/extractor/grammar.cc
@@ -6,6 +6,8 @@
using namespace std;
+namespace extractor {
+
Grammar::Grammar(const vector<Rule>& rules,
const vector<string>& feature_names) :
rules(rules), feature_names(feature_names) {}
@@ -37,3 +39,5 @@ ostream& operator<<(ostream& os, const Grammar& grammar) {
return os;
}
+
+} // namespace extractor