Hello!
I have been trying to create the rule: "Usei o texto com vossa permissão" "Usei o texto com a vossa permissão" In simple words, when we use "com vossa" without the "a", it suggests "com a vossa". Also, I wanted to use exceptions after the "vossa": <token><exception regexp="yes">majestade|realeza|divindade|excelência|eminência</exception></token> "Queria falar com vossa majestade" -> (without the "a" for the words above) I tried to code it in different ways but it gives errors: <!-- COM VOSSA com a vossa --> <rule id="COM_VOSSA" name="com a vossa"> <pattern> <token>com</token> <marker> <token>vossa<exception scope="previous">a</exception></token> <token><exception regexp="yes">majestade|realeza|divindade|excelência|eminência</exception></token> </marker> </pattern> <message>Querias dizer <suggestion>com a vossa</suggestion>?</message> <example type="incorrect">Usei o texto <marker>com vossa</marker> permissão.</example> <example type="correct">Usei o texto <marker>com a vossa</marker> permissão.</example> <example type="correct">Queria falar <marker>com vossa</marker> majestade.</example> </rule> I am still having difficulties using exceptions in the XML. How do I fix the code above? Thanks! Kind regards from, >Marco A.G.Pinto ----------------------- --
|
------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel