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

[itn] 十二点提醒我做饭 #180

Open
mapledxf opened this issue Dec 27, 2023 · 1 comment
Open

[itn] 十二点提醒我做饭 #180

mapledxf opened this issue Dec 27, 2023 · 1 comment

Comments

@mapledxf
Copy link

”点“后没有数字的 建议解析成时间 xx:00

python -m itn --enable_0_to_9 true --enable_standalone_number false --text "十二点提醒我做饭"
char { value: "十" } char { value: "二" } char { value: "点" } char { value: "提" } char { value: "醒" } char { value: "我" } char { value: "做" } char { value: "饭" }
十二点提醒我做饭

@xingchensong
Copy link
Member

不太好整,建议--enable_standalone_number true, 转译成 “12点”

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

2 participants