Hello!

Yesterday I added a good rule to the pt-pt grammar.xml:
    <!-- DEPOIS DE após -->
    <rule id="DEPOIS_DE" name="após">
      <pattern>
        <token>depois</token>
        <token>de</token>
      </pattern>
      <message>Substituir «depois de» por <suggestion>após</suggestion>.</message>
      <example type="incorrect">Faz isso <marker>depois de</marker> saber os resultados.</example>
      <example type="correct">Faz isso <marker>após</marker> saber os resultados.</example>
    </rule>

It is a very good rule, but I would like it not to suggest if one uses the word "amanhã" after the "depois de".

For example:
Faz isso depois de saber os resultados -> Faz isso após saber os resultados (good)
Faz isso depois de amanhã -> "depois de amanhã" should make no suggestion.
"depois de amanhã" means "after tomorrow".

How do I change the behaviour?

Thanks!

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



--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to