summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-05-20 15:46:39 +0800
committerPeng Wu <alexepico@gmail.com>2015-05-20 15:46:50 +0800
commit9c174991333d33f61d7beda6dbfb9a83864b5f5c (patch)
treee6c2a2c02a3b62424f3745f6430a0f582b6aff4a
parent06842584c86efcf947c8b3eac2b0834f7ed32e39 (diff)
downloadlibpinyin-9c174991333d33f61d7beda6dbfb9a83864b5f5c.tar.gz
libpinyin-9c174991333d33f61d7beda6dbfb9a83864b5f5c.tar.xz
libpinyin-9c174991333d33f61d7beda6dbfb9a83864b5f5c.zip
update tables
-rw-r--r--src/include/novel_types.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h
index f2211c0..4ccb185 100644
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -143,13 +143,27 @@ typedef GArray * CandidateConstraints;
typedef guint32 pinyin_option_t;
typedef enum {
+ /* for default tables. */
RESERVED = 0,
GB_DICTIONARY = 1,
GBK_DICTIONARY = 2,
MERGED_DICTIONARY = 3,
ADDON_DICTIONARY = 4,
NETWORK_DICTIONARY = 5,
- USER_DICTIONARY = 6
+ USER_DICTIONARY = 6,
+
+ /* for addon tables. */
+ ART_DICTIONARY = 4,
+ CULTURE_DICTIONARY = 5,
+ ECONOMY_DICTIONARY = 6,
+ GEOLOGY_DICTIONARY = 7,
+ HISTORY_DICTIONARY = 8,
+
+ LIFE_DICTIONARY = 9,
+ NATURE_DICTIONARY = 10,
+ SCITECH_DICTIONARY = 11,
+ SOCIETY_DICTIONARY = 12,
+ SPORT_DICTIONARY = 13,
} PHRASE_INDEX_LIBRARIES;
G_END_DECLS