EmotiVoice icon indicating copy to clipboard operation
EmotiVoice copied to clipboard

:bug: 部分文字转换失败问题

Open KimigaiiWuyi opened this issue 7 months ago • 1 comments

当前frontend.py存在部分情况时,输入文本点击转换会直接报错 (#8),修复如下

  • 添加中文字符的排除
  • 添加空格字符、换行字符的排除
  • 将数字转为汉字再进行转换(我不清楚该项目对第三方库的态度,如果可以的话,可以在之后引用第三方库进行数字和汉字的转换)

目前仍发现问题:

  • 无法正确处理中文和英文混排情况

KimigaiiWuyi avatar Nov 14 '23 03:11 KimigaiiWuyi

@syq163 @KimigaiiWuyi @ if this is a open source project in GitHub, and this PR fix a lot of problems for the issue user use, do we need to consider community PR first, instead of using the PR method in commit, and ignore it? or you can add steps of how to make the contribute in this repo. Thank you.

yihong0618 avatar Nov 17 '23 08:11 yihong0618