ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pei Chen <chen...@apache.org>
Subject Re: How to modify the date annotator?
Date Tue, 18 Mar 2014 16:30:31 GMT
Carlo,
I think the DateFSM is probably the right place to put it...
The below Jira has been opened to track this:
https://issues.apache.org/jira/browse/CTAKES-287
Feel free to attach a patch if you have a tested version working for your
use case.
--Pei



On Mon, Mar 17, 2014 at 10:36 AM, Carlo Cabiling <kharlo2012@gmail.com>wrote:

> Hi Everyone,
>
> I want the date annotator to detect dates in DAY MONTH YEAR format (i.e.
> 13 June 2013) as it only detects June 2013. I tried modifying the
> DateFSM.java but can't seem to make it work.
> Currently the annotator only detect date formats starting with months as
> below:
>
>   * <li>10/15/2002</li>
>   * <li>10/15</li>
>    * <li>10-15-2002</li>
>   * <li>10-15</li>
>
> and
>
>         * <li>October 15, 2002</li>
>  * <li>October 15 2002</li>
>  * <li>October 15</li>
>  * <li>October 2002</li>
>  * <li>Oct 15, 2002</li>
>  * <li>Oct 15 2002</li>
>  * <li>Oct 15</li>
>  * <li>Oct 2002</li>
>  * <li>Oct. 15, 2002</li>
>  * <li>Oct. 15 2002</li>
>  * <li>Oct. 15</li>
>  * <li>Oct. 2002</li>
>
> Would appreciate your help.
>
> Thanks,
> Carlo Cabiling
>
>

Mime
View raw message