Refer to <rule id="EXAMPLE_RULE" name="My example rule"> in http://wiki.languagetool.org/development-overview
To get a clickable suggestion, you must use <suggestion> in the message. Example: <message>Usar <suggestion>o ónus da prova</suggestion></message> Regards, Mike Unwalla Contact: www.techscribe.co.uk/techw/contact.htm -----Original Message----- From: Marco A.G.Pinto [mailto:marcoagpi...@mail.telepac.pt] Sent: 11 December 2015 12:33 To: Mailing List - LanguageTool Subject: Issue in rule Hello! I have been trying to create the following rule: <!-- O ANOS/ONUS/ÂNUS DA PROVA o ónus da prova --> <rule id="O_ANOS-ONUS-ÂNUS_DA_PROVA" name="o ónus da prova"> <pattern> <marker> <token>o</token> <token regexp="yes">anos|onus|ânus</token> <token>da</token> <token>prova</token> </marker> </pattern> <message>Usar «o ónus da prova»</message> <example correction=""><marker>o anos da prova</marker>.</example> <example><marker>o ónus da prova</marker>.</example> </rule> After "TESTRULES PT" I tried to test it in the stand alone tool, it suggests the correction but when I click in the suggestion, it does nothing. What am I doing wrong? Thanks! Kind regards, >Marco A.G.Pinto ------------------------ -- ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel