ryaninf / time-nlpy Goto Github PK
View Code? Open in Web Editor NEWTime-NLP的Python3版本 中文时间表达识别
Time-NLP的Python3版本 中文时间表达识别
texts = '特朗普,于2018年1月4日到5日走丢,手机号+8618100039384'
中间代码产出: temp ['2018年1月4日', '5日', '86181000']
最后返回了:return {"error": "no time pattern could be extracted."}
例如,text = "我说我下班七点下班",我想要得到"七点"和"2019-12-23 19:00:00",请问怎么把"七点"也输出来?
类似的还有 ”1 小时前“
现在是 delta
{"type": "timedelta", "timedelta": "0 days, 1:00:00"}
你好,挺好的代码呀,感谢分享。想请教下,那么长的规则,是怎么样生成的呢,谢谢啦
hi, @BearScience
我這邊有個需求,我想要把簡體改成繁體,包括一些字和規則的修改以符合我們繁體使用者的需求,是否可以直接把你的程式碼複製到我的repo,而不透過fork的方式?那假如我能複製,我需要標注什麼嗎?
我會有疑惑是因為我在setup.py看到license是MIT,但一般授權應該會另外寫出來
謝謝!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.