2
我們是否有任何良好的本地python庫,它與sutime或duckling一樣好。儘管python中有sutime的包裝,但它消耗了大量的內存。 python中的parsedatetime不如這些,它不能處理範圍。python中的原生日期解析庫
我們是否有任何良好的本地python庫,它與sutime或duckling一樣好。儘管python中有sutime的包裝,但它消耗了大量的內存。 python中的parsedatetime不如這些,它不能處理範圍。python中的原生日期解析庫
試試這個https://github.com/scrapinghub/dateparser。
dateparser
- 用於人類可讀日期的python解析器。它提供的模塊可以輕鬆解析通常在網頁上找到的任何字符串格式的本地化日期。
Arrow? (https://github.com/crsmithdev/arrow/)。取決於你的需求。 – nir0s
此外,還有https://github.com/wanasit/chrono-python,它可能更適合,但不是真的保持。 – nir0s
謝謝,讓我評估這些並回來。 –