diff options
author | Paul Baltescu <pauldb89@gmail.com> | 2013-03-06 15:25:54 +0000 |
---|---|---|
committer | Paul Baltescu <pauldb89@gmail.com> | 2013-03-06 15:25:54 +0000 |
commit | ab5367aa2c42126a04034cd7d3cec125bca399ca (patch) | |
tree | 9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/matchings_finder.cc | |
parent | 245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff) |
Namespace for extractor.
Diffstat (limited to 'extractor/matchings_finder.cc')
-rw-r--r-- | extractor/matchings_finder.cc | 4 |
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 |