uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mandy Neumann <mandy.neum...@th-koeln.de>
Subject Re: How to get TextRuler to work
Date Thu, 14 Feb 2019 08:44:41 GMT

yes I already read elsewhere that TextRuler is not actively maintained. 
Which is a pity because it has the potential to be a really cool tool! 
We really need something like that in our project.

Thanks for pointing me to the error log, I eventually found the problem 
in a NullPointerException - Ruta was not able to find the script 
Base.ruta I had imported in Features.ruta (I wanted to mirror the 
example project as closely as possible). Although both reside in the 
same package, it was not clear to me that I still have to use the fully 
qualified name to import.

By the way, in case anybody wants to pick up maintaining TextRuler 
again, I would suggest to improve a bit on error handling here.



Am 12.02.19 um 16:48 schrieb Peter Kl├╝gl:
> Hi,
> I haven't used TextRuler for years and therefore I cannot tell right
> away what the issue could be. I also have to mention that the view and
> its algorithms are not actively maintained.
> Is there a message in the Error Log of Eclipse?
> Can you provide a minimal exmaple for reproducing the problem?
> Best,
> Peter
> Am 11.02.2019 um 17:22 schrieb Mandy Neumann:
>> Hi,
>> after fixing my initial problems with the CAS views, I now want to
>> proceed to my main task. I want to apply TextRuler to learn a set of
>> rules instead of writing them manually.
>> Unfortunately, I can't get TextRuler to work in my project. The
>> example project works, but when I start the process on my project, the
>> view displays "Preprocessing... Loading XMI file (input): <file>" and
>> does nothing more. I also cannot stop, pressing the stop button has no
>> effect, I need to restart the workbench to be able to change TextRuler
>> settings.
>> I'm not sure if my workflow is even right. The first step is to
>> convert html input into XMIs with the html tags as annotations. In
>> order to create the training data, I figured I need to include the
>> target type system already at this step. I then used the
>> "Annotate/Quick Annotate" options in the CAS viewer to create the gold
>> standard annotations.
>> I also created two Ruta scripts to be used by TextRuler. Base.ruta
>> basically just declares the target type system. Features.ruta creates
>> some basic annotations that should be used by TextRuler to infer rules.
>> Anybody an idea why my workflow won't work?
>> Cheers,
>> Mandy

View raw message