Time-NLP
Time-NLP copied to clipboard
中文语句中的时间语义识别。即通过分析中文语句,识别出话语中提到的时间。
时间识别错误
——3个BUG, ***第一个*** 时间识别,isPreferFuture=ture时 下午7点到8点,识别到第二天的7点到8点 问题在于TimeUnit.java中的下面语句: if(curTime < _tp.tunit[checkTimeIndex]){ return; } curTime =16点, _tp.tunit[checkTimeIndex] =7 这个7不对,应该是12+7 =19 这是一个bug ***第二个*** 今天下午7到8点 由于【7】后面没加【点】所以识别为今天下午的默认时间【15:00】 ***第三个*** 今天6月28日,周三, 【周五下午7点到8点】,识别为【7月7日】
下礼拜一无法解析出来
无法使用
项目打成jar包,执行test报错,无法使用
[](https://infosecwriteups.com/want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-1fc329d898fb) --- This is a security fix for a high severity vulnerability in your [Apache Maven](https://maven.apache.org/) `pom.xml` file(s). The build files indicate that this project is resolving dependencies over HTTP...
如:输入2022-01-20。会输出2023-02-01 00:00:00
数据:依大端序,第1202538828478502551459097860527993021号,是“白日依山尽” 有问题的正则部分:((一|二|两|三|四|五|六|七|八|九|十|百|千|万|几|多|上|\d+)+个?(天|日|周|月|年)(后|前|半)) \d+后面还有一个+ 可以把\d后面的+去掉,只用括号后的那个+号 希望能修正一下TimeExp.m文件,谢谢!