Hello! I want to improve the following 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>há</token>** ** <token></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>\1 \2 \3</suggestion>.</message>** ** <example correction="Há n segundos"><marker>Há n segundos atrás</marker>.</example>** ** </rule>* I want the token after "há" to accept up to three words. For example: "há *vinte e três* dias atrás" What changes shall I make? Thanks! Kind regards, >Marco A.G.Pinto ----------------------- --
------------------------------------------------------------------------------
_______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel