Hi,

Most languages have the postag NCMS000, including "Latim". Try:

*<token postag="NCMS000"></token> *

Regards,
Jaume Ortolà

2016-07-15 12:45 GMT+02:00 Marco A.G.Pinto <marcoagpi...@mail.telepac.pt>:

> Hello!
>
> I am trying to create the following rule:
> traduzir *em *LANG -> traduzir *para *LANG
> (translate TO LANG)
>
> *    <!-- TRADUZIR EM > TRADUZIR PARA -->*
> *    <rule id="TRADUZIR_EM" name="Traduzir para">*
> *      <pattern>*
> *        <token>traduzir</token>*
> *        <marker>*
> *            <token>em</token>*
> *        </marker>        *
> *        <token postag_regexp="yes" postag="AQ0MS0|latim"></token>     *
> *     </pattern>*
> *     <message>Substituir «em» por
> <suggestion>para</suggestion>.</message>*
> *     <suggestion>para</suggestion>*
> *     <example correction="para">Temos de traduzir <marker>em</marker>
> Inglês.</example>*
> *    </rule>  *
>
> It seems the language names are *AQ0MS0 *but "Latin" ("latim" in
> Portuguese doesn't appear as *AQ0MS0*, so I added it by hand to the rule)
> doesn't hit the rule while testing in the stand-alone tool.
>
> How do I fix it?
>
> Thanks!
>
> Kind regards,
>        >Marco A.G.Pinto
>          ------------------------
>
>
>
> --
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to