diff options
author | Peng Wu <alexepico@gmail.com> | 2013-10-21 10:40:22 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-10-21 10:40:22 +0800 |
commit | 082a23265118587b6893105809341f8c040bcc1c (patch) | |
tree | 93804d0d4b043fc09a6fca6fc190a35daa26b1a4 | |
parent | 3aa1f8ac784d64dbc89de9922dbbe0590db77c10 (diff) | |
download | libzhuyin-082a23265118587b6893105809341f8c040bcc1c.tar.gz libzhuyin-082a23265118587b6893105809341f8c040bcc1c.tar.xz libzhuyin-082a23265118587b6893105809341f8c040bcc1c.zip |
rename namespace pinyin to zhuyin
-rw-r--r-- | src/lookup/phrase_lookup.cpp | 2 | ||||
-rw-r--r-- | src/lookup/pinyin_lookup2.cpp | 2 | ||||
-rw-r--r-- | src/pinyin.cpp | 2 | ||||
-rw-r--r-- | src/pinyin_internal.h | 2 | ||||
-rw-r--r-- | src/storage/chewing_key.h | 2 | ||||
-rw-r--r-- | src/storage/chewing_large_table.cpp | 2 | ||||
-rw-r--r-- | src/storage/ngram.cpp | 2 | ||||
-rw-r--r-- | src/storage/phrase_index.cpp | 2 | ||||
-rw-r--r-- | src/storage/phrase_large_table2.cpp | 2 | ||||
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 2 | ||||
-rw-r--r-- | src/storage/table_info.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_parser2.cpp | 2 | ||||
-rw-r--r-- | utils/storage/gen_pinyin_table.cpp | 2 |
13 files changed, 13 insertions, 13 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[] = { diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 6c0ab32..ab1f08c 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -50,7 +50,7 @@ static GOptionEntry entries[] = size_t bench_times = 1000; -using namespace pinyin; +using namespace zhuyin; int main(int argc, char * argv[]) { diff --git a/utils/storage/gen_pinyin_table.cpp b/utils/storage/gen_pinyin_table.cpp index a61cd04..49ada2f 100644 --- a/utils/storage/gen_pinyin_table.cpp +++ b/utils/storage/gen_pinyin_table.cpp @@ -45,7 +45,7 @@ static GOptionEntry entries[] = }; -using namespace pinyin; +using namespace zhuyin; /* map from phrase_item to GArray of chewing_and_freq_item */ GTree * g_chewing_tree; |