summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-08 15:24:51 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-08 15:24:51 +0800
commit3de71392c23ff1012b9c38a03e6a53942eb704d5 (patch)
treeef197587359d76c182aaffb661d60a9bedcec239 /src/storage/ngram.cpp
parente44f8dc3df4766331b4d4296fd2cf7f88f70145a (diff)
downloadlibpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.gz
libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.xz
libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.zip
refine namespace pinyin
Diffstat (limited to 'src/storage/ngram.cpp')
-rw-r--r--src/storage/ngram.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage/ngram.cpp b/src/storage/ngram.cpp
index 35aea0c..a4d72c2 100644
--- a/src/storage/ngram.cpp
+++ b/src/storage/ngram.cpp
@@ -26,6 +26,8 @@
#include "novel_types.h"
#include "ngram.h"
+using namespace pinyin;
+
struct SingleGramItem{
phrase_token_t m_token;
guint32 m_freq;