fix: 补全88个精油名拼音映射,修复mlk无法匹配麦卢卡等问题
All checks were successful
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Successful in 49s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 13:40:56 +00:00
parent 1790ab3b44
commit 6d1ae6e682

View File

@@ -57,6 +57,25 @@ const PINYIN_MAP = {
'触': 'c', '修': 'x', '养': 'y', '滋': 'z', '润': 'r',
'呼': 'h', '吸': 'x', '消': 'x', '化': 'h', '排': 'p',
'毒': 'd', '净': 'j', '纤': 'x', '体': 't', '塑': 's',
// Extended: all oil name chars
'麦': 'm', '卢': 'l', '卡': 'k', '檀': 't', '橘': 'j',
'茅': 'm', '茴': 'h', '芹': 'q', '菜': 'c', '蕾': 'l',
'蜂': 'f', '蓍': 's', '莱': 'l', '姆': 'm', '莎': 's',
'穗': 's', '醇': 'c', '郁': 'y', '没': 'm', '脂': 'z',
'巴': 'b', '样': 'y', '班': 'b', '牙': 'y', '鸡': 'j',
'苍': 'c', '卫': 'w', '畅': 'c', '顺': 's', '释': 's',
'悦': 'y', '柔': 'r', '压': 'y', '定': 'd', '情': 'q',
'绪': 'x', '神': 's', '气': 'q', '宽': 'k', '容': 'r',
'恬': 't', '家': 'j', '欢': 'h', '欣': 'x', '舞': 'w',
'鼓': 'g', '赋': 'f', '谧': 'm', '睡': 's', '烂': 'l',
'绚': 'x', '焕': 'h', '肤': 'f', '年': 'n', '华': 'h',
'完': 'w', '理': 'l', '注': 'z', '贯': 'g', '全': 'q',
'仕': 's', '女': 'nv', '伯': 'b', '斯': 's', '道': 'd',
'格': 'g', '拉': 'l', '元': 'y', '肌': 'j', '栀': 'z',
'鹅': 'e', '掌': 'z', '柴': 'c', '胶': 'j', '囊': 'n',
'空': 'k', '风': 'f', '文': 'w', '月': 'y', '云': 'y',
'五': 'w', '味': 'w', '愈': 'y', '创': 'c', '慰': 'w',
'扁': 'b', '广': 'g', '州': 'z', '热': 'r',
}
/**