summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lookup/phrase_lookup.cpp2
-rw-r--r--src/lookup/pinyin_lookup2.cpp2
-rw-r--r--src/pinyin.cpp2
-rw-r--r--src/pinyin_internal.h2
-rw-r--r--src/storage/chewing_key.h2
-rw-r--r--src/storage/chewing_large_table.cpp2
-rw-r--r--src/storage/ngram.cpp2
-rw-r--r--src/storage/phrase_index.cpp2
-rw-r--r--src/storage/phrase_large_table2.cpp2
-rw-r--r--src/storage/pinyin_parser2.cpp2
-rw-r--r--src/storage/table_info.cpp2
11 files changed, 11 insertions, 11 deletions
diff --git a/src/lookup/phrase_lookup.cpp b/src/lookup/phrase_lookup.cpp
index 986a808..fd457a4 100644
--- a/src/lookup/phrase_lookup.cpp
+++ b/src/lookup/phrase_lookup.cpp
@@ -27,7 +27,7 @@
#include "ngram.h"
#include "phrase_lookup.h"
-using namespace pinyin;
+using namespace zhuyin;
/*
diff --git a/src/lookup/pinyin_lookup2.cpp b/src/lookup/pinyin_lookup2.cpp
index f7567fa..7f1f613 100644
--- a/src/lookup/pinyin_lookup2.cpp
+++ b/src/lookup/pinyin_lookup2.cpp
@@ -24,7 +24,7 @@
#include "pinyin_lookup2.h"
#include "stl_lite.h"
-using namespace pinyin;
+using namespace zhuyin;
/*
const gfloat PinyinLookup2::bigram_lambda = lambda;
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index a389637..bb03356 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -27,7 +27,7 @@
#include "pinyin_internal.h"
-using namespace pinyin;
+using namespace zhuyin;
/* a glue layer for input method integration. */
diff --git a/src/pinyin_internal.h b/src/pinyin_internal.h
index 551ca33..4ed7c15 100644
--- a/src/pinyin_internal.h
+++ b/src/pinyin_internal.h
@@ -60,7 +60,7 @@
#define USER_PHRASE_INDEX "user_phrase_index.bin"
-using namespace pinyin;
+using namespace zhuyin;
/* the following fixes build on Debian GNU/kFreeBSD */
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h
index 37b0173..20dfafb 100644
--- a/src/storage/chewing_key.h
+++ b/src/storage/chewing_key.h
@@ -26,7 +26,7 @@
#include "chewing_enum.h"
#include "pinyin_custom2.h"
-using namespace pinyin;
+using namespace zhuyin;
G_BEGIN_DECLS
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp
index de7969c..aa74e0d 100644
--- a/src/storage/chewing_large_table.cpp
+++ b/src/storage/chewing_large_table.cpp
@@ -102,7 +102,7 @@ public:
};
-using namespace pinyin;
+using namespace zhuyin;
/* class implementation */
diff --git a/src/storage/ngram.cpp b/src/storage/ngram.cpp
index 1258449..4994b4d 100644
--- a/src/storage/ngram.cpp
+++ b/src/storage/ngram.cpp
@@ -27,7 +27,7 @@
#include "novel_types.h"
#include "ngram.h"
-using namespace pinyin;
+using namespace zhuyin;
struct SingleGramItem{
phrase_token_t m_token;
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 0b0c72f..062101c 100644
--- a/src/storage/phrase_index.cpp
+++ b/src/storage/phrase_index.cpp
@@ -22,7 +22,7 @@
#include "phrase_index.h"
#include "pinyin_custom2.h"
-using namespace pinyin;
+using namespace zhuyin;
bool PhraseItem::set_n_pronunciation(guint8 n_prouns){
m_chunk.set_content(sizeof(guint8), &n_prouns, sizeof(guint8));
diff --git a/src/storage/phrase_large_table2.cpp b/src/storage/phrase_large_table2.cpp
index 2372f9b..a952afe 100644
--- a/src/storage/phrase_large_table2.cpp
+++ b/src/storage/phrase_large_table2.cpp
@@ -96,7 +96,7 @@ public:
};
-using namespace pinyin;
+using namespace zhuyin;
/* class implementation */
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 43f6cb4..04c54d4 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -33,7 +33,7 @@
#include "chewing_table.h"
-using namespace pinyin;
+using namespace zhuyin;
static bool check_pinyin_options(pinyin_option_t options, const pinyin_index_item_t * item) {
guint32 flags = item->m_flags;
diff --git a/src/storage/table_info.cpp b/src/storage/table_info.cpp
index 56901d6..707dc9c 100644
--- a/src/storage/table_info.cpp
+++ b/src/storage/table_info.cpp
@@ -25,7 +25,7 @@
#include <string.h>
#include <locale.h>
-using namespace pinyin;
+using namespace zhuyin;
static const pinyin_table_info_t reserved_tables[] = {