Re: Bug in German rule

2016-01-19 Thread Jan Schreiber
Thanks for the report! That bug is my fault. When I wrote the rule, I tacitly assumed that SENT_END would always be a punctuation mark, I wasn't aware that it can ever be a word. If we revert Daniel's last change and use (something like) the following to match a period or an exclamation mark at th

Re: Bug in German rule

2016-01-18 Thread Rick Genter
Thanks, Daniel. I was kind of hoping that the suggestion could remain, but there would be some way to optionally match the full-stop using its recommended position. So, in the example above, if the full-stop was present the error.start/error.end would be 16/17, whereas without the full-stop it wou

Re: Bug in German rule

2016-01-18 Thread Daniel Naber
On 2016-01-18 18:11, Rick Genter wrote: > If I give the text "Wie geht es dir", the LanguageTool UI shows: I don't know if there's an elegant way to solve this, as the rule should also match "Wie geht es dir." (with a full stop). So sometimes the last token needs to be replaced, sometimes not.

Bug in German rule

2016-01-18 Thread Rick Genter
I'm experimenting with LanguageTool-3.2 and have discovered what I believe to be a problem with one of the German rules. If I give the text "Wie geht es dir", the LanguageTool UI shows: [image: Inline image 1] While I understand why "dir" is underlined, I feel like the column information is wron