cn2an
cn2an copied to clipboard
练习时长两年半
Describe the bug 练习时长两年半 转换结果不符合预期
To Reproduce Steps to reproduce the behavior:
- run following code:
import cn2an
result = cn2an.transform(input_sentence)
print(result)
- See error
Expected behavior 练习时长2.5年
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
你这太高估这个库了 它没有语义理解的能力 根本不知道两年半=‘二‘ ‘半‘ ‘年’ 而且它的半转化完应该就是0.5 不会跟其它的中文数字加在一起 你这不是为难它嘛