diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-14 13:39:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-14 13:39:06 +0800 |
commit | 9ffdfaa1b77c0a9e2136ad49768bc7df4329d454 (patch) | |
tree | 494495408df9ed82bf258bcfda4b87afdaacfd55 /utils/storage/gen_chewing_table.cpp | |
parent | 2970679b136f91607f7db1d1a64c3158b1d60881 (diff) | |
download | libpinyin-9ffdfaa1b77c0a9e2136ad49768bc7df4329d454.tar.gz libpinyin-9ffdfaa1b77c0a9e2136ad49768bc7df4329d454.tar.xz libpinyin-9ffdfaa1b77c0a9e2136ad49768bc7df4329d454.zip |
refine ChewingKeyRest
Diffstat (limited to 'utils/storage/gen_chewing_table.cpp')
-rw-r--r-- | utils/storage/gen_chewing_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/storage/gen_chewing_table.cpp b/utils/storage/gen_chewing_table.cpp index 30bc0da..d74be6a 100644 --- a/utils/storage/gen_chewing_table.cpp +++ b/utils/storage/gen_chewing_table.cpp @@ -293,7 +293,7 @@ void gen_phrase_file(const char * outfilename, int phrase_index){ (key_rests, ChewingKeyRest, k); //assert (CHEWING_ZERO_TONE != key.m_tone); - pinyin = get_pinyin_string(key, key_rest); + pinyin = key.get_pinyin_string(); g_array_append_val(pinyins, pinyin); } gchar * pinyin_str = g_strjoinv("'", (gchar **)pinyins->data); |