java语言的自然语言日期和时间解析器 [英] Natural Language date and time parser for java

查看:228
本文介绍了java语言的自然语言日期和时间解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个自然语言解析器,它用英语检查句子,并提取一些信息,如姓名,日期等。

I am working on a Natural Language parser which examines a sentence in english and extracts some information like name, date etc.

例如:在下个星期二下午5点在沙滩上见面。

所以输出将是这样的:让我们满足15/09/2009 at在海滩上1700小时

所以基本上,我想知道的是,有没有一个可用于JAVA的框架或库一种操作,例如从句子中解析日期,并输出一些指定的格式。

So basically, what i want to know is that is there any framework or library available for JAVA to do these kind of operations like parsing dates from a sentence and give a output with some specified format.

问候,
Pranav

Regards, Pranav

感谢您的回复。我已经看了几个NLP,如 LingPipe ,OpenPL,斯坦福NLP 。我想要问他们有什么用于java的日期解析。

Thanks for the replies. I have looked on few NLPs like LingPipe, OpenPL, Stanford NLP. I wanted to ask do they hav anything for date parsing for java.

推荐答案

Natty 是JChronic的一个非常好的替代品。

Natty is a really good replacement for JChronic.

这篇关于java语言的自然语言日期和时间解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆