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

recognizer_datetime, recognize Chinese "一个半小时" failed #3188

Open
xinhecuican opened this issue Jan 5, 2025 · 0 comments
Open

recognizer_datetime, recognize Chinese "一个半小时" failed #3188

xinhecuican opened this issue Jan 5, 2025 · 0 comments

Comments

@xinhecuican
Copy link

Describe the bug
recognize "一个半小时" as "半小时"

To Reproduce

from recognizers_date_time import Culture, recognize_datetime
recognize_datetime("一个半小时", Culture.Chinese)
for result in results:
    print(result.text)

"半小时"

Expected behavior
output "一个半小时"

Platform (please complete the following information):

  • Platform: Python
  • Environment: pip
  • Version of package 1.0.2a2
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

1 participant