summaryrefslogtreecommitdiff
path: root/extractor/phrase.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
commitab5367aa2c42126a04034cd7d3cec125bca399ca (patch)
tree9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/phrase.cc
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/phrase.cc')
-rw-r--r--extractor/phrase.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/phrase.cc b/extractor/phrase.cc
index 6dc242db..244fab07 100644
--- a/extractor/phrase.cc
+++ b/extractor/phrase.cc
@@ -1,5 +1,7 @@
#include "phrase.h"
+namespace extractor {
+
int Phrase::Arity() const {
return var_pos.size();
}
@@ -52,3 +54,5 @@ ostream& operator<<(ostream& os, const Phrase& phrase) {
}
return os;
}
+
+} // namspace extractor