Skip to content

Commit

Permalink
Merge pull request #291 from hotoo/dict/ling
Browse files Browse the repository at this point in the history
dict: 〇
  • Loading branch information
hotoo committed Apr 11, 2021
2 parents b0f12df + ba5c54a commit 2fce957
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/dict-zi.js
@@ -1,5 +1,6 @@
var dict = [];

dict[0x3007] = "líng,xīng"; /* 〇: https://zh.m.wiktionary.org/wiki/%E3%80%87 */
dict[0x3400] = "qiū"; /* 㐀 */
dict[0x3401] = "tiǎn,tiàn"; /* 㐁 */
dict[0x3402] = "xǐ"; /* 㐂 */
Expand Down Expand Up @@ -32484,7 +32485,7 @@ dict[0x24e4a] = "xī"; /* 乊 */
dict[0x24e4b] = "jué"; /* 之 */
dict[0x24e4c] = "shī"; /* 乌 */
dict[0x24e4e] = "yǎ"; /* 乎 */
dict[0x24e50] = "liè"; /* */
dict[0x24e50] = "liè"; /* 𤹐 */
dict[0x24e5b] = "chén"; /* 乛 */
dict[0x24e5c] = "yíng"; /* 乜 */
dict[0x24e5d] = "bì"; /* 九 */
Expand Down
9 changes: 9 additions & 0 deletions tests/test.js
Expand Up @@ -14,6 +14,15 @@ var cases = [
STYLE_FIRST_LETTER: [["w"]],
} ],

[ "〇", {
STYLE_NORMAL: [["ling", "xing"]],
STYLE_TONE: [["líng", "xīng"]],
STYLE_TONE2: [["ling2", "xing1"]],
STYLE_TO3NE: [["li2ng", "xi1ng"]],
STYLE_INITIALS: [["l", "x"]],
STYLE_FIRST_LETTER: [["l", "x"]],
} ],

// 多音字
[ "中", {
STYLE_NORMAL: [["zhong"]],
Expand Down

0 comments on commit 2fce957

Please sign in to comment.