Hi, I made two small changes to our XML syntax:
1.) type="incorrect" is now optional for example sentences that have a 'correction' attribute. As the correction implies that the sentence is incorrect, we can as well leave it out. Old: <example type="incorrect" correction="..."><marker>Error here</marker></example> New: <example correction="..."><marker>Error here</marker></example> I have only applied this to German for now. I will apply this, i.e. remove the useless 'type' attributes, to all languages unless you tell me you don't want this for your language. 2.) A rule can now have only one example sentence as long as there's a correction. It used to require two example sentences, but it was not checked if both were incorrect or correct. The new way is more compact, as the unit test makes sure the correction gets applied and the result of that is tested to not cause a match. In other words, one example sentence with a 'correction' attribute is actually two tests. I had to add some TODOs in the Catalan grammar to make tests pass, as there were tests with only incorrect examples. Jaume, could you turn those TODOs into real test sentences? Regards Daniel ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. vanity: www.gigenet.com _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel