Re: Behavior of non-breaking space U+00A0 in LanguageTool

2015-10-12 Thread Andre Couture
Thank you This is very interesting. Being French-Canadian I never put a space before punctuations and was not aware of the rule. So in general it is mainly for presentation and formatting use as I understand. I guess we can then just treat them as spaces. Thanks Sent from my iPhone 6 > On Oc

Re: Behavior of non-breaking space U+00A0 in LanguageTool

2015-10-12 Thread Dominique Pellé
Andre Couture wrote: > Hi > I did not follow the entire conversation here but I was curious as of why > would someone put a non breaking space between two words? > We face that in other areas of our code as well. > > If the idea of the nbsp is to keep the two apparent words together, would > it be

Re: Behavior of non-breaking space U+00A0 in LanguageTool

2015-10-12 Thread Purodha Blissenbach
Hi, you put a nbsp for instance between a figure and the unit, or in some languages between two part of an abbreviations, or between the (short) 1st word of a sentence such as an article and the 2nd word, etc. Purodha On 12.10.2015 14:33, Andre Couture wrote: > Hi > I did not follow the entire

Re: Behavior of non-breaking space U+00A0 in LanguageTool

2015-10-12 Thread Andre Couture
Hi I did not follow the entire conversation here but I was curious as of why would someone put a non breaking space between two words? We face that in other areas of our code as well. If the idea of the nbsp is to keep the two apparent words together, would it be good to handle the nbsp as an hy

Re: Behavior of non-breaking space U+00A0 in LanguageTool

2015-10-12 Thread Daniel Naber
On 2015-10-11 19:18, Dominique Pellé wrote: > I think that spaces or non-breaking spaces should behave > the same for LanguageTool. I guess so. I've made a commit that changes this. It broke some tests: I fixed fr/grammar.xml and commented out tests in QuestionWhitespaceRuleTest. Could you chec