summaryrefslogtreecommitdiff
path: root/extractor/phrase_location.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/phrase_location.cc')
-rw-r--r--extractor/phrase_location.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/phrase_location.cc b/extractor/phrase_location.cc
index b0bfed80..678ae270 100644
--- a/extractor/phrase_location.cc
+++ b/extractor/phrase_location.cc
@@ -1,5 +1,7 @@
#include "phrase_location.h"
+namespace extractor {
+
PhraseLocation::PhraseLocation(int sa_low, int sa_high) :
sa_low(sa_low), sa_high(sa_high), num_subpatterns(0) {}
@@ -37,3 +39,5 @@ bool operator==(const PhraseLocation& a, const PhraseLocation& b) {
return *a.matchings == *b.matchings;
}
+
+} // namespace extractor