[英]Native date parsing library in python
Do we have any good native python library which is as good as of sutime or duckling. 我们有没有和sutime或duckling一样好的本地Python库。 Though there is a wrapper for sutime in python, but it consumes lot of memory. 尽管在python中有一个sutime的包装器,但它消耗大量内存。 parsedatetime in python isn't as good as these, it cannot handle range. python中的parsedatetime不如这些,它不能处理范围。
Try this one https://github.com/scrapinghub/dateparser . 试试这个https://github.com/scrapinghub/dateparser 。
dateparser
-- python parser for human readable dates. dateparser
用于人类可读日期的python解析器。 It provides modules to easily parse localized dates in almost any string formats commonly found on web pages. 它提供了一些模块,可以轻松解析网页上常见的几乎任何字符串格式的本地化日期。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.