We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
>>> txt = '二十日,下午三点表示,明天九点' >>> times = ex.extract_time(txt) >>> times '{"type": "timespan", "timespan": ["2019-10-20 00:00:00", "2019-10-30 15:00:00"] }' >>> txt = '今天是九月十八号,在二十号,将举办' >>> times = ex.extract_time(txt) >>> times '{"type": "timespan", "timespan": ["2019-10-30 00:00:00", "2019-09-18 00:00:00"]
希望能加上一个判定,如果出现今天,昨天等词,可以更改时间基准。。。 (如果有好办法能识别也希望大家告诉我一下([email protected])。。因为最近在做,被折磨疯了。) 再次感谢作者!!!!!
The text was updated successfully, but these errors were encountered:
这个匹配时间很多都匹配不上
Sorry, something went wrong.
No branches or pull requests
希望能加上一个判定,如果出现今天,昨天等词,可以更改时间基准。。。
(如果有好办法能识别也希望大家告诉我一下([email protected])。。因为最近在做,被折磨疯了。)
再次感谢作者!!!!!
The text was updated successfully, but these errors were encountered: