looking for more informative exception messages when parsing invalid Ruta script

2015-07-16 Thread Renaud Richardet
Hello, When using Ruta in a non-Workbench setup (in my case, Maven), I don't manage to catch Ruta script errors in a meaningful way. Here is an example: aaa\. - MyAnnotation; // fails because of escaped dot The thrown error is quite uninformative: java.lang.ArrayIndexOutOfBoundsException: -1

Ruta: delete some annotation whose text length is smaller than n?

2015-06-26 Thread Renaud Richardet
How can I delete some annotation whose text length is smaller than n? I tried: MyAnnotation{IF((end-begin) 2)-DEL}; but no luck so far. Thanks!

Ruta syntax simplifications?

2015-04-28 Thread Renaud Richardet
Hello, I have been using Ruta a lot lately, and it has made me much more productive. Thanks to all the people that contributed to it! I have been thinking about two small syntax simplifications and was wondering if they would make sense: A) Types declarations (2.5.1) // Types with features may

Ruta UIMAFIT component declaration with configuration parameters

2014-11-16 Thread Renaud Richardet
Hello, I can't seem to find how to define additional configuration parameters for UIMAFIT components in Ruta scripts, something along the lines of: UIMAFIT org.apache.uima.ruta.engine.XMIWriter, 'Output', '/path/to/xmi.xml'; (How) is this possible? Thanks, Renaud

Re: Publication about UIMA Ruta

2014-10-15 Thread Renaud Richardet
Yes, congratulations Peter!

Re: RUTA: case insensitive regex rule?

2014-08-29 Thread Renaud Richardet
Thanks Alexandre!

Ruta-server to easily deploy Apache RUTA projects as web services

2014-08-21 Thread Renaud Richardet
view in the Ruta Workbench for only testing the functionality of rules for an application (not the ruta implementation), but view builts on xmi and supports no text specification. If you implement something, consider to contribute it :-) Best, Peter Am 18.08.2014 23:30, schrieb Renaud

Ruta - best practices for unit tests?

2014-08-18 Thread Renaud Richardet
Hello, What are best practices for writing unit tests for Ruta? Ideally, I would like to have 1) tests that can be run on the command line (so as to automate them in Jenkins), and 2) where input and expected output can be edited in a text editor (meaning: not xmi's or java code). For 1), I was

Re: Lucas

2014-08-12 Thread Renaud Richardet
on Lucene 2.9.3. Lucene is at version 4.9.0 right now. Is there an alternative? Regards, Armin -- Renaud Richardet Blue Brain Project PhD candidate EPFL Station 15 CH-1015 Lausanne phone: +41-78-675-9501 http://people.epfl.ch/renaud.richardet

Re: how to dynamically set a required annotation type from within a UIMAfit annotator?

2013-12-06 Thread Renaud Richardet
@Richard, Thanks for your explanation; it seems that it would be quite a deep code change, and in my usecase not worth the trouble. @Thomas, Thanks for sharing your project with us. However, I looked at UIMA-AS, and found it too complicated for my taste. My poor-man's solution will be to show a

how to dynamically set a required annotation type from within a UIMAfit annotator?

2013-12-05 Thread Renaud Richardet
I find it very convenient to add @TypeCapability(inputs = { TOKEN, SENTENCE, COOCCURRENCE }) so that I can ensure that dependencies are met. But sometimes, the dependencies are dynamic (e.g. an input type capability is part of the config of an annotator, and is loaded dynamically, see code

Re: next UIMA workshop?

2013-10-21 Thread Renaud Richardet
Hi Jens, I would be happy to help out. Best, Renaud On Mon, Oct 21, 2013 at 11:44 AM, Jens Grivolla j+...@grivolla.net wrote: Hi, at GSCL 2013 we talked a bit about options for the next UIMA workshop. How about trying to have it at COLING 2014? WORKSHOP TIMELINE • 19th

Re: Collection Reader Progress

2013-10-07 Thread Renaud Richardet
Hi Armin, Just return null. I rarely implement that method... Best, Renaud On Sat, Oct 5, 2013 at 11:44 AM, Dr. Armin Wegner arminweg...@googlemail.com wrote: What to return from method Progress of CasCollectionReader_ImplBase when I do not know the total number of artifacts?

Re: [ANNOUNCE] Apache uimaFIT 2.0.0 released

2013-09-30 Thread Renaud Richardet
that you open an issue and ask for this to be included like a patch. -- Richard On 27.09.2013, at 11:57, Renaud Richardet renaud.richar...@epfl.ch wrote: Thanks Richard and others for the release of uimaFIT 2! Here are a few shell commands to ease the migration to version 2: https

Re: [ANNOUNCE] Apache uimaFIT 2.0.0 released

2013-09-27 Thread Renaud Richardet
, there have been more bug fixes and minor improvements. For a full list of the changes, please refer to Jira: http://uima.apache.org/d/uimafit-2.0.0/issuesFixed/jira-report.html -- Richard Eckart de Castilho, for the Apache UIMA development team -- Renaud Richardet Blue Brain Project PhD

Re: Adding features to TokenAnnotation and DictTerm in Concept Mapper

2013-05-23 Thread Renaud Richardet
features : text, tokenType, tokenClass and uima.tt.tokenAnnotation. Now if I want to add more features such as POS or group etc. Is there a neat way of doing it without touching the conceptMapper.jar and changing our typesystem to extend the two types ? Thanks Manisha -- Renaud Richardet

Re: Concept Mapper in code

2013-05-21 Thread Renaud Richardet
); // Also how should I pass the dictionary file in code? Thanks, Harshal -- Renaud Richardet Blue Brain Project PhD candidate EPFL Station 15 CH-1015 Lausanne phone: +41-78-675-9501 http://people.epfl.ch/renaud.richardet

CAS serializer / deserializer to MongoDB

2012-08-16 Thread Renaud Richardet
Hello, Has anyone tried to store CAS in MongoDB? Thanks, Renaud

can't make CPE Configurator GUI work: classpath issue

2012-01-25 Thread Renaud Richardet
Hello, When using the CPE Configurator GUI (via ./bin/cpeGui.sh), I always get the same error: org.apache.uima.resource.ResourcelnitializationException: Initialization of CAS Processor with name WhitespaceTokenizer failed. CausedBy: org.apache.uima.resource.ResourceConfigurationException:

create html annotation viewer from CAS

2011-11-27 Thread Renaud Richardet
Hello, How can I programmatically create an html version of the annotation viewer? (http://www.anc.org/images/uima-annotation-viewer3.jpg) Thanks for any pointer, Renaud