WeTextProcessing icon indicating copy to clipboard operation
WeTextProcessing copied to clipboard

[itn] 十二点提醒我做饭

Open mapledxf opened this issue 1 year ago • 1 comments

”点“后没有数字的 建议解析成时间 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: "饭" } 十二点提醒我做饭

mapledxf avatar Dec 27 '23 09:12 mapledxf

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

xingchensong avatar Jan 27 '24 03:01 xingchensong