Hello!

I have been trying to create the following rule, but it gives an error
with "TESTRULES PT":
*    <!-- COMMA BEFORE WORDS #3 -->
    <rule id="COMMA_3" name="Vírgula antes #3">
      <pattern>     
        <token>é</token>
        <marker>
            <token><exception regexp="yes">[,;:–—\(]</exception></token>
        </marker>
        <token>pois</token>     
        <marker>
            <token><exception regexp="yes">[,;:–—\(]</exception></token>
        </marker>       
      </pattern>
      <message>Usar vírgula: <suggestion>\1, \2,</suggestion></message>
      <example correction="é, pois,">Ela <marker>é pois</marker> do
Norte.</example>
    </rule>    *


The idea is to suggest commas in:
"É pois" -> "É, pois,"

How do I do it?

Thanks!

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

-- 

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to