Sounds cool! -----Original Message----- From: Abramowitsch, Peter [mailto:pabramowit...@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. https://urldefense.proofpoint.com/v2/url?u=https-3A__logiciels.lina.univ-2Dnantes.fr_redmine_..._uima-2Dtokens-2Dregex-2Ddocumen&d=CwIFAg&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=gtRszD1mKPIm3Erb5z6m8N5doeQFq0CbaYinv_UDjig&s=nUEZxcNd3pf677x1aog5r67AOMqXBRu2BrLNSOJJ4Hg&e= tation.pdf 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.fi...@childrens.harvard.edu> wrote: >Pattern.compile( ".*Principal Date\\D+(\\d+) (\\d+).*", DOTALL );