diff options
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/chewing_enum.h | 2 | ||||
-rw-r--r-- | src/storage/chewing_large_table.cpp | 2 | ||||
-rw-r--r-- | src/storage/chewing_large_table.h | 2 | ||||
-rw-r--r-- | src/storage/chewing_table.h | 2 | ||||
-rw-r--r-- | src/storage/facade_chewing_table.h | 2 | ||||
-rw-r--r-- | src/storage/facade_phrase_table2.h | 2 | ||||
-rw-r--r-- | src/storage/flexible_ngram.h | 2 | ||||
-rw-r--r-- | src/storage/ngram.cpp | 2 | ||||
-rw-r--r-- | src/storage/ngram.h | 2 | ||||
-rw-r--r-- | src/storage/phrase_index.cpp | 2 | ||||
-rw-r--r-- | src/storage/phrase_index.h | 2 | ||||
-rw-r--r-- | src/storage/phrase_index_logger.h | 2 | ||||
-rw-r--r-- | src/storage/phrase_large_table2.cpp | 2 | ||||
-rw-r--r-- | src/storage/phrase_large_table2.h | 2 | ||||
-rw-r--r-- | src/storage/pinyin_parser2.h | 2 | ||||
-rw-r--r-- | src/storage/pinyin_parser_table.h | 2 | ||||
-rw-r--r-- | src/storage/pinyin_phrase2.h | 2 | ||||
-rw-r--r-- | src/storage/table_info.h | 2 | ||||
-rw-r--r-- | src/storage/tag_utility.cpp | 2 | ||||
-rw-r--r-- | src/storage/tag_utility.h | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/src/storage/chewing_enum.h b/src/storage/chewing_enum.h index e6d212d..1140e93 100644 --- a/src/storage/chewing_enum.h +++ b/src/storage/chewing_enum.h @@ -4,7 +4,7 @@ #ifndef CHEWING_ENUM_H #define CHEWING_ENUM_H -namespace pinyin{ +namespace zhuyin{ /** * @brief enums of chewing initial element. diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp index 337adb3..de7969c 100644 --- a/src/storage/chewing_large_table.cpp +++ b/src/storage/chewing_large_table.cpp @@ -27,7 +27,7 @@ /* internal class definition */ -namespace pinyin{ +namespace zhuyin{ class ChewingLengthIndexLevel{ protected: diff --git a/src/storage/chewing_large_table.h b/src/storage/chewing_large_table.h index 75ab622..96ca195 100644 --- a/src/storage/chewing_large_table.h +++ b/src/storage/chewing_large_table.h @@ -28,7 +28,7 @@ #include "memory_chunk.h" #include "chewing_key.h" -namespace pinyin{ +namespace zhuyin{ class ChewingLengthIndexLevel; diff --git a/src/storage/chewing_table.h b/src/storage/chewing_table.h index 195f1ef..18b23b5 100644 --- a/src/storage/chewing_table.h +++ b/src/storage/chewing_table.h @@ -4,7 +4,7 @@ #ifndef CHEWING_TABLE_H #define CHEWING_TABLE_H -namespace pinyin{ +namespace zhuyin{ const chewing_symbol_item_t chewing_standard_initials[] = { {'1' , "ㄅ"}, diff --git a/src/storage/facade_chewing_table.h b/src/storage/facade_chewing_table.h index 3d7a83c..9e0bef6 100644 --- a/src/storage/facade_chewing_table.h +++ b/src/storage/facade_chewing_table.h @@ -25,7 +25,7 @@ #include "novel_types.h" #include "chewing_large_table.h" -namespace pinyin{ +namespace zhuyin{ /** * FacadeChewingTable: diff --git a/src/storage/facade_phrase_table2.h b/src/storage/facade_phrase_table2.h index eed1987..17c774a 100644 --- a/src/storage/facade_phrase_table2.h +++ b/src/storage/facade_phrase_table2.h @@ -24,7 +24,7 @@ #include "phrase_large_table2.h" -namespace pinyin{ +namespace zhuyin{ /** * FacadePhraseTable2: diff --git a/src/storage/flexible_ngram.h b/src/storage/flexible_ngram.h index 2764c28..3cfb338 100644 --- a/src/storage/flexible_ngram.h +++ b/src/storage/flexible_ngram.h @@ -31,7 +31,7 @@ * struct MagicHeader, ArrayHeader, ArrayItem. */ -namespace pinyin{ +namespace zhuyin{ typedef GArray * FlexibleBigramPhraseArray; diff --git a/src/storage/ngram.cpp b/src/storage/ngram.cpp index 4f760ab..1258449 100644 --- a/src/storage/ngram.cpp +++ b/src/storage/ngram.cpp @@ -521,7 +521,7 @@ bool Bigram::mask_out(phrase_token_t mask, phrase_token_t value){ } -namespace pinyin{ +namespace zhuyin{ /* merge origin system info and delta user info */ bool merge_single_gram(SingleGram * merged, const SingleGram * system, diff --git a/src/storage/ngram.h b/src/storage/ngram.h index efcec53..a152063 100644 --- a/src/storage/ngram.h +++ b/src/storage/ngram.h @@ -24,7 +24,7 @@ #include <db.h> -namespace pinyin{ +namespace zhuyin{ class Bigram; diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index b0c9be4..0b0c72f 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -706,7 +706,7 @@ bool FacadePhraseIndex::mask_out(guint8 phrase_index, return retval; } -namespace pinyin{ +namespace zhuyin{ static bool _peek_header(PhraseIndexLogger * logger, diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index 9ec0252..068a19e 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -46,7 +46,7 @@ * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ -namespace pinyin{ +namespace zhuyin{ /* Store delta info by phrase index logger in user home directory. */ diff --git a/src/storage/phrase_index_logger.h b/src/storage/phrase_index_logger.h index 980d5a0..5319685 100644 --- a/src/storage/phrase_index_logger.h +++ b/src/storage/phrase_index_logger.h @@ -39,7 +39,7 @@ * */ -namespace pinyin{ +namespace zhuyin{ enum LOG_TYPE{ LOG_ADD_RECORD = 1, diff --git a/src/storage/phrase_large_table2.cpp b/src/storage/phrase_large_table2.cpp index cbba23a..2372f9b 100644 --- a/src/storage/phrase_large_table2.cpp +++ b/src/storage/phrase_large_table2.cpp @@ -26,7 +26,7 @@ /* class definition */ -namespace pinyin{ +namespace zhuyin{ class PhraseLengthIndexLevel2{ protected: diff --git a/src/storage/phrase_large_table2.h b/src/storage/phrase_large_table2.h index 091e388..9123a48 100644 --- a/src/storage/phrase_large_table2.h +++ b/src/storage/phrase_large_table2.h @@ -26,7 +26,7 @@ #include "novel_types.h" #include "memory_chunk.h" -namespace pinyin{ +namespace zhuyin{ const size_t PHRASE_NUMBER_OF_BITMAP_INDEX = 1<<(sizeof(ucs4_t) / 4 * 8); diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index 563d57e..2190359 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -27,7 +27,7 @@ #include "chewing_key.h" #include "pinyin_custom2.h" -namespace pinyin{ +namespace zhuyin{ typedef struct { const char * m_hanyu_pinyin; diff --git a/src/storage/pinyin_parser_table.h b/src/storage/pinyin_parser_table.h index bb5f6fe..2334c8f 100644 --- a/src/storage/pinyin_parser_table.h +++ b/src/storage/pinyin_parser_table.h @@ -4,7 +4,7 @@ #ifndef PINYIN_PARSER_TABLE_H #define PINYIN_PARSER_TABLE_H -namespace pinyin{ +namespace zhuyin{ const pinyin_index_item_t hanyu_pinyin_index[] = { {"a", IS_BOPOMOFO|IS_PINYIN, 1}, diff --git a/src/storage/pinyin_phrase2.h b/src/storage/pinyin_phrase2.h index cd9609a..1fb39f8 100644 --- a/src/storage/pinyin_phrase2.h +++ b/src/storage/pinyin_phrase2.h @@ -27,7 +27,7 @@ #include "pinyin_custom2.h" #include "pinyin_parser2.h" -namespace pinyin{ +namespace zhuyin{ inline int pinyin_exact_compare2(const ChewingKey * key_lhs, const ChewingKey * key_rhs, diff --git a/src/storage/table_info.h b/src/storage/table_info.h index df3400f..170395e 100644 --- a/src/storage/table_info.h +++ b/src/storage/table_info.h @@ -25,7 +25,7 @@ #include "novel_types.h" -namespace pinyin{ +namespace zhuyin{ typedef enum { NOT_USED, /* not used. */ diff --git a/src/storage/tag_utility.cpp b/src/storage/tag_utility.cpp index 081e931..a2655c1 100644 --- a/src/storage/tag_utility.cpp +++ b/src/storage/tag_utility.cpp @@ -7,7 +7,7 @@ #include "phrase_large_table2.h" #include "tag_utility.h" -namespace pinyin{ +namespace zhuyin{ /* internal taglib structure */ struct tag_entry{ diff --git a/src/storage/tag_utility.h b/src/storage/tag_utility.h index cdf5a69..c1a2c16 100644 --- a/src/storage/tag_utility.h +++ b/src/storage/tag_utility.h @@ -28,7 +28,7 @@ * Maybe the optional tag will be added back later. */ -namespace pinyin{ +namespace zhuyin{ /** * taglib_init: |