问题描述
我正在研究一个自然语言解析器,它检查英语句子并提取一些信息,如姓名、日期等.
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 在 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.
问候,普拉纳夫
感谢您的回复.我看过一些 NLP,比如 LingPipe、OpenPL、斯坦福自然语言处理.我想问他们是否有任何用于 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的自然语言日期和时间解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!