Bug 125141

Summary: found syllabification error in German
Product: LibreOffice Reporter: Katrin <katmelsch>
Component: LinguisticAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail, thomas.lendo, xiscofauli
Priority: medium    
Version: 6.1.5.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 120883    

Description Katrin 2019-05-06 17:14:49 UTC
Description:
the term "PsychKG" is short for "Psychisch Kranken Gesetz", a german book of laws. As a short cut it not will be seperate. It will now separate as "Psy-chKG". And if it has to be seperate, then as you speak as "Psych-KG", cause K and G is pronounced as Letters.

Steps to Reproduce:
1.make a document and set the language as german
2.write "PsychKG" and make clear it comes to the and of the line, so it will be seperate
3.

Actual Results:
Psy-chKG

Expected Results:
it's not to seperate, so it must be "PsychKG"


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes
Comment 1 Xisco Faulí 2019-06-10 16:56:39 UTC
@Dieter, can you reproduce this issue ?
Comment 2 Dieter 2019-06-11 05:55:41 UTC
I confirm it with

Version: 6.2.4.2 (x64)
Build-ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

I also agree, that an abbreviation of a book of law shouldn't be separated, but I couldn't find an official rule for that. But Psy-chKG is wrong.
Comment 3 Thomas Lendo 2019-06-11 20:31:31 UTC
Maybe a rule that words with a majuscule in the middle of end of it won't be separated. Austrian examples: ArbVG, BarwertVO, ZahnFinAnpG.
Comment 4 Katrin 2019-06-13 21:25:29 UTC
@ Dieter Praas: Thanks for your agreement.
@ Thomas Lendo:  I just know the German books of law, but in the most cases there are more than one capital in one word without space. For exemple OWiG. And the most of it have also just one vowel - like the Y in PsychKG, VerschG, StPO. Maybe there's a way to make a rule, the program detects therms like that.
Comment 5 QA Administrators 2021-06-13 03:48:53 UTC Comment hidden (obsolete)
Comment 6 Dieter 2022-10-21 08:09:34 UTC
Still present in

Version: 7.4.2.2 (x64) / LibreOffice Community
Build ID: 1726efbecd001a1fe871cba3e00e71283688f34d
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 7 László Németh 2023-12-27 10:11:19 UTC
It's possible to prevent the (pattern based, i.e. not always correct) hyphenation:

https://help.libreoffice.org/latest/en-US/text/swriter/guide/hyphen_prevent.html