Jaume, Thank you once more!
It has worked!
Kind regards from your friend,
>Marco A.G.Pinto
-----------------------
On 14/06/2016 10:46, Jaume Ortolà i Font wrote:
> Try this:
>
> <rule id="COMMA_3aa" name="Vírgula antes #3aa">
> <pattern>
> <marker>
> <token>É</token>
> </marker>
> <token>pois</token>
> <token regexp="yes">[!.]</token>
> </pattern>
> <message>Usar vírgula: <suggestion>\1,</suggestion></message>
> <example correction="É,">Será verdade? <marker>É</marker>
> pois!</example>
> </rule>
>
> Regards,
> Jaume Ortolà
>
>
> 2016-06-14 11:32 GMT+02:00 Marco A.G.Pinto
> <[email protected] <mailto:[email protected]>>:
>
> Hello Jaume,
>
> I was wondering if you could help me.
>
> I wanted to improve yesterday's rule so that if someone types:
> *É pois!* OR *É pois.*
> it would only suggest a comma after the *É*.
> For example: "*Será verdade? É, pois!*"
>
> I have added the following rules and the one failing is #3aa
> (special case).
> * <!-- COMMA BEFORE/AFTER WORDS #3a --> **
> ** <rule id="COMMA_3a" name="Vírgula antes #3a">**
> ** <pattern> **
> ** <marker>**
> ** <token>é</token>**
> ** <token>pois</token>**
> ** </marker>**
> ** <token><exception
> regexp="yes">[!.,;:–—\(]</exception></token>**
> ** <token></token>**
> ** </pattern>**
> ** <message>Usar vírgula: <suggestion>\1,
> \2,</suggestion></message>**
> ** <example correction="é, pois,">Ela <marker>é pois</marker>
> do Norte.</example>**
> ** </rule> **
> ** ** **
> ** **
> ** <!-- COMMA BEFORE/AFTER WORDS #3aa --> **
> ** <rule id="COMMA_3aa" name="Vírgula antes #3aa">**
> ** <pattern> **
> ** <marker>**
> ** <token>É</token>**
> ** <token><exception
> regexp="yes">[,;:–—\(]</exception></token>**
> ** </marker>**
> ** <token>pois</token>**
> ** <token regexp="yes">!.</token> **
> ** </pattern>**
> ** <message>Usar vírgula:
> <suggestion>\1,</suggestion></message>**
> ** <example correction="É,">Será verdade? <marker>É</marker>
> pois!</example>**
> ** </rule> **
> ** **
> ** **
> ** <!-- COMMA BEFORE/AFTER WORDS #3b -->**
> ** <rule id="COMMA_3b" name="Vírgula antes #3b">**
> ** <pattern> **
> ** <marker>**
> ** <token>é</token>**
> ** <token>,</token>**
> ** <token>pois</token>**
> ** </marker>**
> ** <token><exception
> regexp="yes">[!.,;:–—\(]</exception></token>**
> ** <token></token>**
> ** </pattern>**
> ** <message>Usar vírgula: <suggestion>\1,
> \3,</suggestion></message>**
> ** <example correction="é, pois,">Ela <marker>é,
> pois</marker> do Norte.</example>**
> ** </rule> **
> ** **
> ** **
> ** <!-- COMMA BEFORE/AFTER WORDS #3c -->**
> ** <rule id="COMMA_3c" name="Vírgula antes #3c">**
> ** <pattern> **
> ** <marker>**
> ** <token>é</token>**
> ** <token>pois</token>**
> ** </marker>**
> ** <token>,</token>**
> ** <token></token>**
> ** </pattern>**
> ** <message>Usar vírgula: <suggestion>\1,
> \2</suggestion></message>**
> ** <example correction="é, pois">Ela <marker>é pois</marker>,
> do Norte.</example>**
> ** </rule> *
>
>
> Could you tell me how to fix it?
>
> Thanks!
>
> Kind regards,
> >Marco A.G.Pinto
> ------------------------
>
>
> --
>
--
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 [email protected] https://lists.sourceforge.net/lists/listinfo/languagetool-devel
