Re: [Languagetool] new Java Rule: Accentuation Check for Catalan.

2012-05-31 Thread Daniel Naber
On Donnerstag, 31. Mai 2012, Jaume Ortolà i Font wrote: I send you a patch with a new Java rule for Catalan. As I said, it is just a more o less complex pattern rule (in fact a rule group) that uses two long lists of word pairs as data. There is also a test for the rule. Let me know if it can

Re: [Languagetool] new Java Rule: Accentuation Check for Catalan.

2012-05-31 Thread Jaume Ortolà i Font
2012/5/31 Daniel Naber list2...@danielnaber.de On Donnerstag, 31. Mai 2012, Jaume Ortolà i Font wrote: Thanks, looks good. Maybe the match() method can become a bit shorter by extracting some code to private methods? I don't see any easy way to do it. The whole Java rule is equivalent to