Hi there,
Why does the SameRuleGroupFilter claim that it removes duplicate rule
matches in the same rule group, but actually compares IDs of rules instead
(which should be unique in the first place)?
See:
https://github.com/languagetool-org/languagetool/blob/master/languagetool-core/src/main/java/org/languagetool/rules/SameRuleGroupFilter.java#L60
I have several rules implemented as Java classes, and I want to somehow
assign them to a same rule group to that SameRuleGroupFilter would filter
them out. However, the only way this seems possible is by setting the same
rule ID to all those rules.
Regards,
--
Linas Valiukas
tel: +370 687 65870
www: http://pypt.lt
------------------------------------------------------------------------------
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