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

语音中出现重复字符最多只识别两个 #269

Open
lief93 opened this issue Sep 19, 2023 · 3 comments
Open

语音中出现重复字符最多只识别两个 #269

lief93 opened this issue Sep 19, 2023 · 3 comments

Comments

@lief93
Copy link

lief93 commented Sep 19, 2023

问题:一句话中出现多个重复字符,只识别出两个.如测试呼叫100003,识别结果为1003
环境:银河麒麟 go1.20 (wav文件不支持上传)
步骤:下载项目后,运行go的wav文件转文字demo
809037269cbdaa52f0497bf18bef54a
70fc7880e57733ce61b85e636aa2496

@csukuangfj
Copy link
Collaborator

decoder 模型的 context size 只有 2, 要识别重复的字,有点困难。

@zhanghuicuc
Copy link

请教,针对这个问题,直接扩大代码里的context size就行吗?

@csukuangfj
Copy link
Collaborator

请教,针对这个问题,直接扩大代码里的context size就行吗?

不行,需要在模型训练的时候做处理. @yfyeung 你有提过解决这个的 pull-request 吗?

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

No branches or pull requests

3 participants