feat(search): 支持拼音全拼搜索以及多音字搜索#129
Open
neooier wants to merge 1 commit into
Open
Conversation
- 新增 PinyinQueryer 类用于处理拼音查询 - 在 Search 组件中实现拼音匹配逻辑 - 更新 OIerDb 接口,增加 pinyins 字段 - 修改 initDb 函数,支持下载和处理拼音数据 - 优化数据下载和处理流程,提高性能
✅ Deploy Preview for oierdb ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#65
#33
前置PR: OIerDb-ng/OIerDb-data-generator#480
功能实现
程思元
csy拼音首拼chengsiyuan拼音全拼csyuan首拼全拼混合沈泊帆
sbfspf多音字均可匹配性能问题
于5700G(CPUZ单核630)单次查询时间在120ms左右,可能需要对输入进行防抖处理以获得更好的查询体验
其它
也许可以去除姓名拼音缩写的维护