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

练习时长两年半 #68

Open
ALLinLLM opened this issue Sep 13, 2023 · 1 comment
Open

练习时长两年半 #68

ALLinLLM opened this issue Sep 13, 2023 · 1 comment

Comments

@ALLinLLM
Copy link

Describe the bug
练习时长两年半 转换结果不符合预期

To Reproduce
Steps to reproduce the behavior:

  1. run following code:
    import cn2an

    result = cn2an.transform(input_sentence)
    print(result)
  1. See error

Expected behavior
练习时长2.5年

Screenshots
image

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.

@Tiangewang0524
Copy link

你这太高估这个库了 它没有语义理解的能力 根本不知道两年半=‘二‘ ‘半‘ ‘年’ 而且它的半转化完应该就是0.5 不会跟其它的中文数字加在一起 你这不是为难它嘛

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