Thanks, Yakov and Jan!

Kind regards,
   >Marco A.G.Pinto
     -----------------------


On 17/08/2016 20:37, Yakov Reztsov wrote:
> Another variant of rule:
>
>   <!-- HÁ n SEGUNDOS/MINUTOS/HORAS/DIAS/SEMANAS/MESES/ANOS ATRÁS
> (remove "ATRÁS") -->
>    
>     <rule id="HÁ-ATRÁS" name="há n tempo atrás">
>       <pattern>
>         <token skip="-1">há</token>
>         <token
> regexp="yes">segundos?|minutos?|horas?|dias?|semanas?|mês|meses|anos?</token>
>         <token>atrás</token>
>       </pattern>
>       <message>Com o verbo haver não é necessário usar "atrás":
> <suggestion><match no="1" include_skipped="all"/> <match
> no="2"/></suggestion>.</message>
>       <example correction="Há n segundos"><marker>Há n segundos
> atrás</marker>.</example>
>     </rule>
>
>
>     Среда, 17 августа 2016, 21:49 +03:00 от "Marco A.G.Pinto":
>
>     Hello!
>
>     I sent a private message to Yakov but maybe he didn't receive it,
>     so I am sending it to the mailing list:
>
>     The rule still gives an error:
>
>         <!-- HÁ n SEGUNDOS/MINUTOS/HORAS/DIAS/SEMANAS/MESES/ANOS ATRÁS
>     (remove "ATRÁS") -->
>         <rule id="HÁ-ATRÁS" name="há n tempo atrás">
>           <pattern>
>             <token>há</token>
>             <token min="1" max="3"/>
>             <token
>     
> regexp="yes">segundos?|minutos?|horas?|dias?|semanas?|mês|meses|anos?</token>
>             <token>atrás</token>
>           </pattern>
>           <message>Com o verbo haver não é necessário usar "atrás":
>     <suggestion><match no="1"/> <match no="2" include_skipped="all"/>
>     <match no="3" include_skipped="none"/></suggestion>.</message>
>           <example correction="Há n segundos"><marker>Há n segundos
>     atrás</marker>.</example>
>         </rule>
>
>     TESTRULES PT says:
>
>
>     What shall I do?
>
>     Thanks!
>
>     Kind regards from your friend,
>          >Marco A.G.Pinto
>            -----------------------
>
>     -- 
>
>
> -- 
>
> Yakov Reztsov

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

Reply via email to