Skip to content

Commit

Permalink
Merge pull request #194 from zh-lx/fix-ju
Browse files Browse the repository at this point in the history
fix: 車的读音优先发 jū,戌的读音优先发 xū
  • Loading branch information
zh-lx authored Mar 19, 2024
2 parents e040985 + b0fd5b3 commit e15bc29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/data/dict1-pinyin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ export const DICT1: { [prop: string]: string } = {
: 'yì',
: 'shān',
: 'xiān',
: 'chē jū',
: 'rán',
: 'jià jiè jie',
: 'fàng',
Expand Down Expand Up @@ -3625,7 +3624,7 @@ export const DICT1: { [prop: string]: string } = {
: 'jīng',
: 'qiào',
: 'shang cháng',
: 'qu xū',
: 'xū qu', // 戊戌变法
: 'yīng',
: 'huáng',
: 'piě piē',
Expand Down Expand Up @@ -8062,7 +8061,8 @@ export const DICT1: { [prop: string]: string } = {
: 'chào miǎo',
: 'chào',
: 'chē jū',
: 'chē jū',
: 'chē jū', // 出车 chē,如问司机:「你今天出车了吗?」
: 'jū chē', // 常用于象棋中:出車 jū
: 'chē jū',
: 'chē',
: 'chē',
Expand Down
5 changes: 3 additions & 2 deletions lib/data/dict1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,8 @@ const map: { [key: string]: number[] } = {
38890, 38944, 39097, 39593, 39594, 39595, 39850, 40084,
],
'chuán zhuàn': [20256, 20659],
'chē jū': [20257, 20453, 36554, 36710],
'chē jū': [20257, 20453, 36710], // 36710 车
'jū chē': [36554], // 36554 車
: [
20258, 21393, 21395, 22544, 23688, 23829, 23830, 28079, 28420, 29273, 29601,
29706, 30554, 31500, 33469, 34460, 34905, 40790,
Expand Down Expand Up @@ -3969,7 +3970,7 @@ const map: { [key: string]: number[] } = {
'mí mó': [25090],
'gàng zhuàng': [25093, 25094],
'zhuàng gàng': [25095],
'qu xū': [25100],
'xū qu': [25100],
'xì hū': [25103, 25135, 25138],
'jiá gā': [25115],
zéi: [25117, 34824, 36042, 36156, 39938, 40033, 40087],
Expand Down
1 change: 1 addition & 0 deletions lib/data/dict3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ const DICT3: { [prop: string]: string } = {
雪一更: 'xuě yì gēng',
一更更: 'yì gēng gēng', // 一声声,一更更。
一重山: 'yì chóng shān',
屈戌儿: 'qū qu ér', // https://www.zhihu.com/question/51441924/answer/125861101
};
export default DICT3;
export const Pattern3: Pattern[] = Object.keys(DICT3).map((key) => ({
Expand Down

0 comments on commit e15bc29

Please sign in to comment.