Skip to content

Conversation

@neooier
Copy link
Contributor

@neooier neooier commented Jan 17, 2025

OIerDb-ng/OIerDb#65
OIerDb-ng/OIerDb#33

将所有选手包含的汉字的拼音输出到 pinyin.txt 用于前端搜索使用

功能经基本验证运行正常

- 新增 output_pinyin 函数,用于输出选手姓名的拼音
- 在 main.py 中集成该功能,生成 dist/pinyin.txt 文件
- 更新 GitHub Actions 工作流,支持 pinyin 文件的生成和部署
- 添加 is_chinese_char 函数,用于判断字符是否为汉字
- 使用 pypinyin 库替换 hanzi_pinyin 库
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.

1 participant