Skip to content

更新拼音字典,提高准确性;增加长句模式生僻字支持,字体大小调节,增强可读性;增加渐进模式,新手更友好;#41

Open
AshXiong wants to merge 28 commits into
Yidadaa:mainfrom
AshXiong:main

Conversation

@AshXiong
Copy link
Copy Markdown

@AshXiong AshXiong commented Feb 5, 2026

更新版本效果预览:https://shuangpin.ash-xiong.de5.net/#/
项目地址https://github.com/AshXiong/shuangpin

更新摘要:

修复原有项目字典匹配不准、生僻字自动跳过 #40 、新手学习曲线过陡等问题。新增了类似 Keybr 的渐进式键位练习模式。


一、 底层解析引擎重构

  • 彻底解决生僻字跳过问题:在长句模式中,弃用原有“死字典”匹配逻辑,改用基于拼音规则的动态解析引擎(集成 pinyin-pro)。不再依赖预设字典,支持所有合法的汉语拼音组合(含冷门读音、古文生僻字)。只要有读音,即可精准映射双拼键位,解决了原有长句模式下文字“无故消失”的问题。
  • 修复键位映射偏差:修复了原算法中部分多音字注音与实际练习键位不符的 Bug,确保“所见即所练”。

二、 新增:渐进式键位学习模式

科学降压:

参考 Keybr 逻辑,将双拼复杂的声韵母矩阵拆解为单个键位的逐一击破。避免新手同时面对全键盘映射的认知过载。

汉字生成:

  • 按照汉字键位使用频率(e, d, i, u, y, zh...)依次解锁。
  • 新旧结合:练习过程中会高频出现“当前新键位”,并自动混入已学过的“旧键位”进行巩固复习。

自动化晋级方案:

  • 系统监控:手动控制晋级规则,监控准确率 、练习量、速度。
  • 达标后自动解锁下一键位,实现全自动无缝进阶。

三、 UI 与易用性优化

  • 可读性增强:新增文章模式下的字体大小调节功能,优化长句输入的视觉压力。
  • 状态机优化:优化了打字过程中的实时反馈逻辑,UI 响应更灵敏,统计数据更准确。

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 5, 2026

@AshXiong is attempting to deploy a commit to the yidadaa's projects Team on Vercel.

A member of the Team first needs to authorize it.

@silv3rarr0w
Copy link
Copy Markdown

这个版本用起来会有生僻字无法识别的问题,如图,在原版里涔字是被跳过的,在这里即使打出正确编码也没有识别

图片

@AshXiong AshXiong changed the title 更新拼音字典,提高准确性;增加渐进模式,新手更友好 更新拼音字典,提高准确性;增加渐进模式,新手更友好;增加长句模式 Mar 15, 2026
@AshXiong AshXiong changed the title 更新拼音字典,提高准确性;增加渐进模式,新手更友好;增加长句模式 更新拼音字典,提高准确性;增加渐进模式,新手更友好;增加长句模式字体大小调节,增强可读性 Mar 15, 2026
@AshXiong AshXiong changed the title 更新拼音字典,提高准确性;增加渐进模式,新手更友好;增加长句模式字体大小调节,增强可读性 更新拼音字典,提高准确性;增加长句模式生僻字支持,字体大小调节,增强可读性;增加渐进模式,新手更友好; Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants