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

“空调零零九七二十六度”“空调0097二十六度”,转化后变成“空调9726度”,消除了“00”的问题 #33

Open
Frank1yy opened this issue Jul 31, 2024 · 0 comments

Comments

@Frank1yy
Copy link

大佬好,借鉴方法TakeChineseNumberFromString对物联控制话术的ASR进行操作,特别是对设备名以数字结尾,同时结合一个温度或者档位的控制话术,会存在一些问题,比如说
“空调1021十六度” -> "空调10216度" (期望:"空调102116度”)
“空调0097二十六度” -> "空调9726度" (期望:"空调009726度”)
“电暖器0360十六度” -> "电暖器3606度" (期望:“电暖器036016度”)

请问此类问题有无方法优化,感谢!

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

1 participant