summaryrefslogtreecommitdiff
path: root/extractor/matchings_finder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/matchings_finder.cc')
-rw-r--r--extractor/matchings_finder.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/matchings_finder.cc b/extractor/matchings_finder.cc
index eaf493b2..ceed6891 100644
--- a/extractor/matchings_finder.cc
+++ b/extractor/matchings_finder.cc
@@ -3,6 +3,8 @@
#include "suffix_array.h"
#include "phrase_location.h"
+namespace extractor {
+
MatchingsFinder::MatchingsFinder(shared_ptr<SuffixArray> suffix_array) :
suffix_array(suffix_array) {}
@@ -19,3 +21,5 @@ PhraseLocation MatchingsFinder::Find(PhraseLocation& location,
return suffix_array->Lookup(location.sa_low, location.sa_high, word, offset);
}
+
+} // namespace extractor