Thanks I looked at the code and I think SameRuleGroupFilter did not
take care of the case as in my rules markers were different (depending
on a case either first or second word was marked).

Andriy

2014-11-14 16:37 GMT-05:00 Daniel Naber <daniel.na...@languagetool.org>:
> On 2014-11-14 19:35, Andriy Rysin wrote:
>
>> Currently it looks like all rules are being matched which
>> a) forces me to add conditions to prevent those rules from overlapping
>> b) slows down the check
>
> SameRuleGroupFilter should take care of a), i.e. it should remove
> duplicate matches. The only reason I know that prevents it from working
> is if all rules actually have their own ID, instead of the same one
> inherited from the <rulegroup>.
>
> Regards
>   Daniel
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to