Hello! While I was revising the book of the university's administrator, MS Word suggested several changes: "de alma e coração" > "Informal language blah blah. Consider using an alternative _expression_" The same to "na medida do possível". Here is how I tried to code them into the grammar.xml: <!-- DE ALMA E CORAÇÃO informal --> <rule id="DE_ALMA_E_CORAÇÃO" name="de alma e coração"> <pattern> <token>de</token> <token>alma</token> <token>e</token> <token>coração</token> </pattern> <message>Linguagem informal. Pondera empregar uma expressão alternativa.</message> </rule> <!-- NA MEDIDA DO POSSÍVEL informal --> <rule id="NA_MEDIDA_DO_POSSÍVEL" name="na medida do possível"> <pattern> <token>na</token> <token>medida</token> <token>do</token> <token>possível</token> </pattern> <message>Linguagem informal. Pondera empregar uma expressão alternativa.</message> </rule> While testing the rules with "testrules pt" it gives lots of errors. Is there a way of making it work the way I coded it? Thanks! Kind regards, >Marco A.G.Pinto ----------------------- --
![]() |
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel