Back to LanguageTool Homepage - Privacy - Imprint

FRENCH_WHITESPACE bug


(Vincent) #1

I’m using LanguageTool 1.6 with LibreOffice 3.4.5. When I have a sentence ending with an interrogation point preceded by a fine non-breakable whitespace, it is flagged as incorrect and LanguageTool propose to replace it by a normal sized non-breakable whitespace. This is incorrect, because it should be a fine non-breakable space, not a normal sized one. On top of it, the rule in French says “Insert fine non breakable whitespace” so it seams it should do what I expect of it.
If I desactivate the rule, I have no more this error pointed out, but neither I have if there is no space, which is far more incorrect.

I didn’t know where to put the bug report, so posted there.


(Dominique PELLÉ) #2

: I’m using LanguageTool 1.6 with LibreOffice 3.4.5.
: When I have a sentence ending with an interrogation
: point preceded by a fine non-breakable whitespace,
: it is flagged as incorrect and LanguageTool propose
: to replace it by a normal sized non-breakable whitespace.

Hi

I just tried the latest LT snapshot (more recent than official LT-1.6) with
the following 3 sentences:

sentence#1 "Qui est-il ?" (with a regular ASCII space U+0020 before question mark)
sentence#2 "Qui est-il ?" (with a non-breaking space U+003F before question mark)
sentence#3 "Qui est-il?" (without any space before question mark)

LT flagged sentences #1 and #3 as an error (FRENCH_WHITESPACE) as expected.
LT did not flag sentences #2 as an error, which is also expected.

So it seems fine to me, or am I missing something?
I tried from LT in command line (in Vim) as well as in LibreOffice.
I made screenshots in LibreOffice and Vim to prove it :smile:


I don't remember this being fixed recently though so it's odd that
it does not work for you. Can you perhaps try the latest version
from the daily snapshot available at:

http://www.languagetool.org/download/snapshots/


(Dominique PELLÉ) #3

I precise that I used LibreOffice-3.3.2 in Ubuntu-10.04.
I also precise that accepting the correction proposed by LT worked fine (left click on the error and select the proposed correction). Correction inserts a non-breakable space before the question mark as expected.


(Vincent) #4

It should not be a non-breakable space, but a fine non-breakable space.

Example: (the first one is more correct and must not be indicated as an error, and should even be preferred to the second one)
“Qui est-il ?”
“Qui est-il ?”

I added a bug in the tracker.