ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finan, Sean" <Sean.Fi...@childrens.harvard.edu>
Subject RE: Help needed with document creation time/date
Date Wed, 13 Jul 2016 19:29:11 GMT
Sounds cool!

-----Original Message-----
From: Abramowitsch, Peter [mailto:pabramowitsch@hearst.com] 
Sent: Wednesday, July 13, 2016 3:28 PM
To: dev@ctakes.apache.org
Subject: Re: Help needed with document creation time/date

Thank you!

Knowing now that it's a do-it-yourself thing, I might also try adding those expressions to
a RegexAnnotator that I'm using:  It allows the expressions to be added and combined in an
external file.


It took me a while to get it working but it allows a kind of meta regex against strings but
also against the value of attributes such as POS.
Just like Stanford's TokensRegex

- Peter

On 7/13/16, 12:19 PM, "Finan, Sean" <Sean.Finan@childrens.harvard.edu>

>Pattern.compile( ".*Principal Date\\D+(\\d+) (\\d+).*", DOTALL );

View raw message