WeTextProcessing
WeTextProcessing copied to clipboard
[itn] 十二点提醒我做饭
”点“后没有数字的 建议解析成时间 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: "饭" } 十二点提醒我做饭
不太好整,建议--enable_standalone_number true, 转译成 “12点”