Ruta 2.0.1

2013-09-16 Thread Sondes Bannour
Hi Peter, I am trying to apply this rule on a text annotated with a Token type: Token #{-MARKONCE(Détention1)} Token; and i am getting this error message: org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed. at

Re: Ruta 2.0.1

2013-09-16 Thread Sondes Bannour
. Best, Peter On 16.09.2013 16:30, Sondes Bannour wrote: Hi Peter, I am trying to apply this rule on a text annotated with a Token type: Token #{-MARKONCE(Détention1)} Token; and i am getting this error message: org.apache.uima.analysis_engine.AnalysisEngineProcessException

Re: Ruta 2.0.1

2013-09-16 Thread Sondes Bannour
, Peter On 16.09.2013 17:11, Sondes Bannour wrote: Can you send me a standard BasicEngine because i switched to Ruta 2.1.0 and i am getting an error like: Exception in thread main org.apache.uima.util.InvalidXMLException: Invalid descriptor at file:/home/sondes/workspace/SemAnnot

Re: Ruta 2.0.1

2013-09-16 Thread Sondes Bannour
, Peter On 16.09.2013 17:27, Sondes Bannour wrote: I managed to get the new descriptors but still have problems (it seems that it's nor the same problem as before but in the same class): org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed

Re: Ruta 2.0.2 Textruler problems

2013-06-11 Thread Sondes Bannour
Thank you anyway. I will try to figure out where is the problem. Cheers, Sondes

Re: Ruta 2.0.2 Textruler problems

2013-06-10 Thread Sondes Bannour
yes i added the features names in the features and yes actually in extendRule function the features are not empty. In this code: // expend with feature conditions WhiskRule proposedRuleF = null; WhiskRuleItem tf = null; for (String eachFeature :

Re: Ruta 2.0.2 Textruler problems

2013-06-10 Thread Sondes Bannour
I already added this code but i think the problem is here: ListTextRulerSlotPattern patterns = rule.getPatterns(); for (TextRulerSlotPattern eachPattern : patterns) { for (TextRulerRuleItem item : eachPattern.fillerPattern) { if (item instanceof WhiskRuleItem) {

Re: Ruta 2.0.2 Textruler problems

2013-06-10 Thread Sondes Bannour
Yes it is called in getTermsWithinBounds(int, int, TextRulerExample) and getTermsAfter(WhiskRuleItem, TextRulerExample) functions. Best, Sondes

Re: Ruta 2.0.2 Textruler problems

2013-06-10 Thread Sondes Bannour
Yes they store features in the map (i can see the featureMap attribute content) but activeFeatures attribute is always empty. Best, Sondes

Re: Ruta 2.0.2 Textruler problems

2013-06-10 Thread Sondes Bannour
Yes i keep the whitespaces so i don't filter anything. My types are Lemma (with a feature lemma ) and Term (with a feature lemma

Re: Ruta 2.0.2 Textruler problems

2013-06-06 Thread Sondes Bannour
Ok thanks Peter. Best, Sondes

Re: Ruta 2.0.2 Textruler problems

2013-06-06 Thread Sondes Bannour
I may not have the right version of Ruta but in the 2.0.1 version the TextRulerExampleDocument.resetAndFillTestCAS() function is the same as the one i have. Where can i find the modifications you added? Best, Sondes

Re: Ruta 2.0.2 Textruler problems

2013-06-03 Thread Sondes Bannour
Hi peter, Yes actually i added the feature functionality (not really in a proper way :) ) and i kept the default learning configuration (except that i put my postag roottype instead of the default one). Everything works well except that rules with FEATURE (not only Lemma but all rules that

Re: Ruta 2.0.2 Textruler problems

2013-05-30 Thread Sondes Bannour
Hello, I have a problem with Textruler. I am working with Whisk (generic) and I am trying to learn rules with features like Lemma{FEATURE(lemma,consumer)-MARKONCE(MBTO1402)}; but the problem is that such rule is not well applyed : base1: Lemma{FEATURE(lemma,consumer)-MARKONCE(MBTO1402)};

Ruta 2.0.2 Textruler problems

2013-05-23 Thread Sondes Bannour
Hi, I tried the textruler view (whisk (token) ) under Ruta 2.0.2 and i got weard results like rules with p=0 and n=0 while i fixed the maximum error threshold to 0.1. Whisk (generic) doesn't even work for me (it seems like crashing on the first step and still waiting without any results) (i am

Re: Ruta 2.0.2 Textruler problems

2013-05-23 Thread Sondes Bannour
That's fine for me. I will continue working with the old version till the new one is ready. Cheers, Sondes

Re: Ruta 2.0.2-SNAPSHOT - Eclipse Plugin Installation

2013-05-22 Thread Sondes Bannour
Hi Peter, Armin, I confirm the eclipse update site didn't work for me too. Cheers, Sondes