W dniu 2014-04-04 10:32, Marcin Miłkowski pisze:
> W dniu 2014-04-03 21:51, Daniel Naber pisze:
>> On 2014-04-03 21:27, Marcin Miłkowski wrote:
>>
>>> The URL box is overly sensitive to the format of URLs, and does not
>>> accept for example this one:
>>>
>>> http://poradnia.pwn.pl/lista.php?id=9687
>>
>> Thanks, will be fixed with the next deployment (it was a Chrome-only
>> issue).
>
> Another one: adding a second example (under Chrome) creates incorrect XML:
>
> <example type='incorrect'>Obiecano odmrożenie <marker>zablokowanych
> aktyw</marker> reżimu. Nie tkniesz moich aktyw!</example>
>    <example type='correct'>Obiecano odmrożenie zablokowanych aktywów
> reżimu.</example>
>    <example type='incorrect'>Nie tkniesz moich aktyw!</example>
>
> Note that "Nie tkniesz moich aktyw" was added as a second example. Then
> it is concatenated to the 1st example, and there's no marker in the
> example either.

And when parsing this XML:

<!-- Polish rule, 2014-04-04 -->
<rule id="ID" name="dd">
  <pattern case_sensitive='yes'>
   <token inflected='yes' regexp='yes'>\p{Lu}\p{Ll}+</token>
   <token>-</token>
   <token inflected='yes'>zdrój<exception 
inflected='yes'>Zdrój</exception></token>
  </pattern>
  <message>W dwuczłonowych nazwach miast oba człony piszemy wielką 
literą: <suggestion><match no="1"/>-<match no="3" 
case_conversion="startupper"/></suggestion></message>
  <url>https://pl.wikipedia.org/wiki/Pomoc:Powszechne_błędy_językowe</url>
  <short>Błąd pisowni wielką i małą literą</short>
  <example type='incorrect'>Mieszkam 
<marker>Rabce-zdroju</marker>.</example>
  <example type='correct'>Mieszkam w Rabce-Zdroju.</example>
</rule>

I get reports that the rule is problematic. It is not.

Also, updating the examples is buggy: when I changed examples to create 
a second rule (a variant of the first one), the old example stayed in 
the XML.

Regards,
Marcin

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

Reply via email to