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/precomputation.h | |
parent | 245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff) |
Namespace for extractor.
Diffstat (limited to 'extractor/precomputation.h')
-rw-r--r-- | extractor/precomputation.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extractor/precomputation.h b/extractor/precomputation.h index 3d44c2a6..dbd99c14 100644 --- a/extractor/precomputation.h +++ b/extractor/precomputation.h @@ -13,11 +13,13 @@ namespace fs = boost::filesystem; using namespace std; -class SuffixArray; +namespace extractor { typedef boost::hash<vector<int> > VectorHash; typedef unordered_map<vector<int>, vector<int>, VectorHash> Index; +class SuffixArray; + class Precomputation { public: Precomputation( @@ -51,4 +53,6 @@ class Precomputation { Index collocations; }; +} // namespace extractor + #endif |