summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-27 17:07:09 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-27 17:08:33 +0800
commit88c6d1ac5b6a945730554da7a22e2e7716055bcb (patch)
treee4f30c51565ee1836b42f37e71c3634b8a610ae4
parent60b6e979d7f5776a12a6f3ab8f4065d39918d24b (diff)
downloadlibpinyin-88c6d1ac5b6a945730554da7a22e2e7716055bcb.tar.gz
libpinyin-88c6d1ac5b6a945730554da7a22e2e7716055bcb.tar.xz
libpinyin-88c6d1ac5b6a945730554da7a22e2e7716055bcb.zip
update double pinyin
-rw-r--r--scripts2/doublepinyin.py1
-rw-r--r--src/storage/double_pinyin_table.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts2/doublepinyin.py b/scripts2/doublepinyin.py
index 5bfe525..ad41d23 100644
--- a/scripts2/doublepinyin.py
+++ b/scripts2/doublepinyin.py
@@ -213,7 +213,6 @@ XHE_SHUANGPIN_SHENGMU_DICT = {
"m" : "m", "n" : "n", "o" : "'", "p" : "p", "q" : "q",
"r" : "r", "s" : "s", "t" : "t", "u" : "sh", "v" : "zh",
"w" : "w", "x" : "x", "y" : "y", "z" : "z",
- "a" : "'", "e" : "'"
}
XHE_SHUANGPIN_YUNMU_DICT = {
diff --git a/src/storage/double_pinyin_table.h b/src/storage/double_pinyin_table.h
index 784d686..7583a64 100644
--- a/src/storage/double_pinyin_table.h
+++ b/src/storage/double_pinyin_table.h
@@ -337,11 +337,11 @@ const double_pinyin_scheme_fallback_item_t double_pinyin_pyjj_fallback[] = {
};
const double_pinyin_scheme_shengmu_item_t double_pinyin_xhe_sheng[] = {
-{"'" } /* A */,
+{NULL } /* A */,
{"b" } /* B */,
{"c" } /* C */,
{"d" } /* D */,
-{"'" } /* E */,
+{NULL } /* E */,
{"f" } /* F */,
{"g" } /* G */,
{"h" } /* H */,