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

recognize_datetime, a common Chinese date range "下个星期" / "下星期" (next week) is not recognized #3144

Open
fangnahz opened this issue Apr 9, 2024 · 0 comments

Comments

@fangnahz
Copy link

fangnahz commented Apr 9, 2024

Describe the bug
A very common Chinese date expression is not recognized

To Reproduce

>>> from recognizers_date_time import Culture, recognize_datetime
>>> recognize_datetime("下个星期", Culture.Chinese)
[]
>>> recognize_datetime("下星期", Culture.Chinese)
[]

Expected behavior
Should return the date range for next week.

Platform (please complete the following information):

  • Platform: Python
  • Version of package [e.g. v1.0.8.1]
$ pip show recognizers-text-date-time
Name: recognizers-text-date-time
Version: 1.0.2a2
Summary: recognizers-text-date-time README
Home-page: https://github.com/Microsoft/Recognizers-Text
Author: Microsoft
Author-email: UNKNOWN
License: MIT
Location: /Users/zhangfan/miniconda3/envs/lip/lib/python3.9/site-packages
Requires: datedelta, recognizers-text, recognizers-text-number, recognizers-text-number-with-unit, regex
Required-by: 
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