On 2016-03-05 11:15, Fekete wrote:

Hi Robert,

> The following rule works fine, but the tests keep complaining about
> it.
> I suspect that the case sensitivity is playing some trick on the
> tests. I am running LT 2.8 currently.

>  <message>Styleguide violation: did you mean
> <suggestion>syslog-ng</suggestion>?</message>

I think there's a special case with suggesting lowercase terms. You need 
to convert the term like this:

<message>Styleguide violation: did you mean <suggestion><match no="1" 
case_conversion="alllower"/></suggestion>?</message>

This works with the current development version of LT. You'll need to 
expand the rule into more than one rule to catch the cases where not 
only uppercase/lowercase is wrong.

Regards
  Daniel


------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to