diff --git a/Trie.cpp b/Trie.cpp index de26d24..42d3cbc 100644 --- a/Trie.cpp +++ b/Trie.cpp @@ -177,10 +177,11 @@ using namespace CppJieba; int main() { Trie trie; - trie.init("test/dict.txt"); - cout<count<count< #include -#include +//#include +#include #include #include "cppcommon/str_functs.h" #include "cppcommon/vec_functs.h" @@ -14,9 +15,9 @@ namespace CppJieba { using namespace CPPCOMMON; using namespace std; - using __gnu_cxx::hash_map; + //using __gnu_cxx::hash_map; typedef uint16_t ChUnicode; - typedef hash_map TrieNodeHashMap; + typedef map TrieNodeHashMap; struct TrieNode {