Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phone_id_map有什么代码方式或便捷方式将汉字转为phone_id吗?英语咋办 #3952

Open
zhaoyongjiang opened this issue Dec 14, 2024 · 2 comments

Comments

@zhaoyongjiang
Copy link

使用的demo:https://github.com/chaos-zhou/PaddleSpeech/tree/develop/demos/TTSAndroid
想添加自定义的句子,需要使用phone_id_map逐个翻译拼音然后找对应编号吗?有没有快捷方式或者代码处理。

paddle有没有简单api,如:paddle.toS("要转换的句子")。

刚接触。走过路过的大佬指点两下,谢谢

@zhaoyongjiang zhaoyongjiang changed the title phone_id_map有什么代码方式或便捷方式将汉字转为代码吗?英语咋办 phone_id_map有什么代码方式或便捷方式将汉字转为phone_id吗?英语咋办 Dec 14, 2024
@Ray961123
Copy link

开发者你好,感谢关注 PaddleSpeech 开源项目,抱歉给你带来了不好的开发体验,目前开源项目维护人力有限,你可以尝试通过修改 PaddleSpeech 源码的方式自己解决,或请求开源社区其他开发者的协助。飞桨开源社区交流频道:飞桨AI Studio星河社区-人工智能学习与实训社区

@zxcd
Copy link
Collaborator

zxcd commented Dec 17, 2024

python的有简单版本,如paddlespeech/t2s/frontend/zh_frontend.py。C++端的参考readme自己写个数据处理脚本。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants