10000 GitHub - HAOzj/periodDetection: 这个项目是用来从文本中提取时间段信息,采用树状的结构
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

这个项目是用来从文本中提取时间段信息,采用树状的结构

License

Notifications You must be signed in to change notification settings

HAOzj/periodDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

periodDetection

这个项目是用来从中文文本中提取时间信息,类似句法分析树,采用树状的结构.
包含对一千以内中文数字转换等辅助功能.

环境 py3 pip install -r requirements.txt

demo
Demo.ipynb展示了应用方法.

现状

  1. 函数基于正则,覆盖基本的规范的表达方式,对特殊的时间表述无法捕捉.
  2. 目前只支持到天级别,无法捕捉更细粒度的时间段.

About

这个项目是用来从文本中提取时间段信息,采用树状的结构

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0