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

[BUG]上一季度解析出错 #178

Open
starim00 opened this issue Nov 30, 2023 · 0 comments
Open

[BUG]上一季度解析出错 #178

starim00 opened this issue Nov 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@starim00
Copy link

starim00 commented Nov 30, 2023

提问题时,请尊重我!把必要的信息,什么环境,输入具体什么文本,运行什么函数讲清楚!
不要甩一句话,说的不清不楚,我无从定位,浪费时间。这样的提单我将直接close。

描述(Description)

对上一季度的解析被解析为了一季度

  1. 版本(Version):
  • python 版本: 3.9.6
  • jionlp 版本: 1.5.5
  1. jionlp的调用代码与输入文本(Code & Text):
    def parser_time(item):
    print(jio.parse_time(item))
    python3 time_parser.py 上一季度

  2. 调用报错日志如下(Log):
    {'type': 'time_span', 'definition': 'accurate', 'time': ['2023-01-01 00:00:00', '2023-03-31 23:59:59']}

期望行为(Expectation)
执行于2023年11月30日,期望应当返回
{'type': 'time_span', 'definition': 'accurate', 'time': ['2023-07-01 00:00:00', '2023-09-30 23:59:59']}

请顺手 star 一下右上角的⭐小星星

@starim00 starim00 added the bug Something isn't working label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant