Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-14 Thread Dominique Pellé
Juan Martorell wrote: > When debugging in command line mode, if the sentence matches a rule then you > get no disambiguator log. Is it easy to change that behaviour? > > Rgds, > > Juan Hi Juan I do not see that. Do you have an example of sentence where you get no disambiguator log with verbose

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-13 Thread Juan Martorell
I tested it again and it seem to work. I believe the problem is that the disambiguating rule does not match whatever the reason and I got fooled. Sorry. 2012/6/13 Marcin Miłkowski > W dniu 2012-06-13 08:29, Juan Martorell pisze: > > When debugging in command line mode, if the sentence matches a

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-13 Thread Marcin Miłkowski
W dniu 2012-06-13 08:29, Juan Martorell pisze: > When debugging in command line mode, if the sentence matches a rule then > you get no disambiguator log. Is it easy to change that behaviour? You should get it anyway, below POS tags. Are you using -v? Regards, Marcin -

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-12 Thread Juan Martorell
When debugging in command line mode, if the sentence matches a rule then you get no disambiguator log. Is it easy to change that behaviour? Rgds, Juan -- Live Security Virtual Conference Exclusive live event will cover al

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-12 Thread Marcin Miłkowski
Fixed now. Marcin W dniu 2012-06-11 21:33, Marcin Miłkowski pisze: > Yeah, not writing a JUnit test makes everything bad. > > I will test it - it seems fine when I debug the disambiguator, so it > must break somewhere else. > > Regards, > Marcin > > W dniu 2012-06-11 20:43, Dominique Pellé pisze:

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-11 Thread Marcin Miłkowski
Yeah, not writing a JUnit test makes everything bad. I will test it - it seems fine when I debug the disambiguator, so it must break somewhere else. Regards, Marcin W dniu 2012-06-11 20:43, Dominique Pellé pisze: > Thanks Marcin, that will be very useful for debugging > disambiguation rules. >

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-11 Thread Dominique Pellé
Thanks Marcin, that will be very useful for debugging disambiguation rules. There is something which I do not understand though. Take this example with the French sentence "Les avions" (= The planes). Both words have 2 POS tags in the French dictionary: $ egrep "^(les|avions)\s" lexique-dicollect

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-11 Thread Marcin Miłkowski
Now it also supports the multiword chunker. Regards - Marcin W dniu 2012-06-11 19:11, Marcin Miłkowski pisze: > OK, I implemented this today. Note: it works only for the rule-based > disambiguator, any other disambiguators need to add the annotation on > their own. > > Regards, > Marcin > > W dni

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-06-11 Thread Marcin Miłkowski
OK, I implemented this today. Note: it works only for the rule-based disambiguator, any other disambiguators need to add the annotation on their own. Regards, Marcin W dniu 2012-05-28 14:08, Marcin Miłkowski pisze: > That requires some additions to the AnalyzedToken and multiple other > places.

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-05-28 Thread Marcin Miłkowski
That requires some additions to the AnalyzedToken and multiple other places. But agreed, very useful. Will think of it. 28-05-2012 13:24 użytkownik "Jaume Ortolà i Font" napisał: > I have the same difficulty with the disambiguation rules in Catalan. The > proposed solution would be very useful. >

Re: [Languagetool] Idea to facilitate debugging disambiguation rules

2012-05-28 Thread Jaume Ortolà i Font
I have the same difficulty with the disambiguation rules in Catalan. The proposed solution would be very useful. Regards, Jaume Ortolà www.riuraueditors.cat 2012/5/28 Dominique Pellé > Hi > > For languages that use the POS disambiguator (fr, ca, el, en, eo, es, > fr, gl, km, nl, pl, ro, ru),

[Languagetool] Idea to facilitate debugging disambiguation rules

2012-05-28 Thread Dominique Pellé
Hi For languages that use the POS disambiguator (fr, ca, el, en, eo, es, fr, gl, km, nl, pl, ro, ru), words may sometimes get the wrong POS because of an error in the disambiguation rules. I find it quite difficult to find which rule(s) caused a word to get a misclassified POS. My current strateg