summaryrefslogtreecommitdiff
path: root/extractor/matchings_trie.h
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
commite1ffc4886b98f7ddcd2ec30d740aa2de8282cd8e (patch)
treeca51b9fc3b61f4177caaef467c9add26737cfc49 /extractor/matchings_trie.h
parenta283adae755aa8617119afb283b9b874f64cf911 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/matchings_trie.h')
-rw-r--r--extractor/matchings_trie.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/matchings_trie.h b/extractor/matchings_trie.h
index 6e72b2db..a54671d2 100644
--- a/extractor/matchings_trie.h
+++ b/extractor/matchings_trie.h
@@ -9,6 +9,8 @@
using namespace std;
+namespace extractor {
+
struct TrieNode {
TrieNode(shared_ptr<TrieNode> suffix_link = shared_ptr<TrieNode>(),
Phrase phrase = Phrase(),
@@ -44,4 +46,6 @@ class MatchingsTrie {
shared_ptr<TrieNode> root;
};
+} // namespace extractor
+
#endif