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

提取时间'#2018-11-27 11:00:00#'失败 #34

Open
mzchg opened this issue Aug 21, 2020 · 0 comments
Open

提取时间'#2018-11-27 11:00:00#'失败 #34

mzchg opened this issue Aug 21, 2020 · 0 comments

Comments

@mzchg
Copy link

mzchg commented Aug 21, 2020

代码:
from cocoNLP.extractor import extractor

ex = extractor()

text = '#2018-11-27 11:00:00#'
times = ex.extract_time(text)
print(times)

输出:
{"error": "no time pattern could be extracted."}

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

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