Hello,

we don't have a component to parse time/date values.

The name finder will be good at detecting the time/date mentions.

It would probably be really nice to add a parser for those.
A contribution would be very welcome.

HTH,
Jörn

On 09/04/2014 11:28 AM, Raj Vardhan wrote:
Hi,

I was wondering if it is possible to parse a natural language text using
OpenNLP to extract date-time range(s) from it.

For example, given input text:

*I have a meeting on Friday from 1:00 pm to 3:00 pm.*

Output can be something in XML or JSON string, with Friday detected as
05-Sep-2014 (assuming today is Thu 04-Sep-2014) and 1:00 pm to 3:00 pm as a
time range.

I am familiar with SUTime library, part of the Stanford NLP software, which
can be used to do this. However, I was hoping to achieve similar results
using Apache OpenNLP.

Please let me know if there is a way for this.

Thanks


Reply via email to