Hi, The task of extracting time expression from natural language text requires mapping numeric time into natural language string. So, it doesn't depend on using OpenNLP. And as i know, OpenNLP doesn't still have those utilities for various languages. please, find this. http://opennlp.sourceforge.net/models-1.5/
Other than that, how about finding time expression extracting utilities something? sorry.... On Thu, Sep 4, 2014 at 2:28 AM, Raj Vardhan <[email protected]> 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 > > -- > Raj Vardhan >
