summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-09 14:31:04 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-09 14:31:04 +0800
commit266386321bc1ac40551e63977d58a68ff9abb8ce (patch)
tree2fb3ead6ac41f409b51c42f282041677ba1db304 /src/storage/pinyin_parser2.h
parent4f995dab994c66b68b4821e69f170ddc4c0285f7 (diff)
downloadlibpinyin-266386321bc1ac40551e63977d58a68ff9abb8ce.tar.gz
libpinyin-266386321bc1ac40551e63977d58a68ff9abb8ce.tar.xz
libpinyin-266386321bc1ac40551e63977d58a68ff9abb8ce.zip
revert re-split table
Diffstat (limited to 'src/storage/pinyin_parser2.h')
-rw-r--r--src/storage/pinyin_parser2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h
index c2702cd..9a78e88 100644
--- a/src/storage/pinyin_parser2.h
+++ b/src/storage/pinyin_parser2.h
@@ -48,15 +48,16 @@ typedef struct {
ChewingKey m_orig_key;
ChewingKey m_first_key;
ChewingKey m_second_key;
- guint32 m_freq;
+ guint32 m_new_freq;
} divided_table_item_t;
typedef struct {
ChewingKey m_orig_first_key;
ChewingKey m_orig_second_key;
+ guint32 m_orig_freq;
ChewingKey m_new_first_key;
ChewingKey m_new_second_key;
- gfloat m_benefit;
+ guint32 m_new_freq;
} resplit_table_item_t;
};