de/de_AT_frami.aff |    9 +++++++++
 de/de_CH_frami.aff |    9 +++++++++
 de/de_DE_frami.aff |    8 ++++++++
 3 files changed, 26 insertions(+)

New commits:
commit 9e27d044d98e65f89af8c86df722a77be827bdc8
Author:     Aron Fischer <ger...@aron.guru>
AuthorDate: Sat Jun 18 00:49:23 2022 +0200
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Fri Sep 23 10:52:56 2022 +0200

    Recognise umlauts typed as -e on non DE keyboard
    
    This change helps the spellchecker to find correct words if the misspelling 
consists of replacement of Umlauts with their vowel+e variants.
    
    The file already contains entries such as "REP ae ä" on line 519 or "REP ss 
ß" on line 507. This tells the checker to try first replacing ae as ä and see 
if that works or to try replacing ss with ß and see if that works. This will 
only succeed if there is a single instance in the word that needs to be 
replaced.
    
    The word "greetings" typed as "Gruesse" was causing me trouble as it 
contains both ue and ss next to each other and the REP commands do not catch 
this.
    
    The MAP command seems to play a somewhat similar role as REP but whereas 
REP deals typically with "one character mistakes", MAP just defines character 
sequences that are related in a language specific setting and works with 
multiple replacements within a single word.
    See here for details: 
https://www.systutorials.com/docs/linux/man/4-hunspell/
    
    In any event, I doubt it can cause harm because the character sequences 
that I am relating in the MAP commands are actually related in the German 
language, and furthermore I am not changing any spelling rules, I am just 
aiding in the search for correct spelling suggestions.
    
    Change-Id: I4683db860467ff6a68e96301c0ed187df1089b3c
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/136067
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    Tested-by: Thorsten Behrens <thorsten.behr...@allotropia.de>

diff --git a/de/de_AT_frami.aff b/de/de_AT_frami.aff
index 99d51e0..9be547c 100644
--- a/de/de_AT_frami.aff
+++ b/de/de_AT_frami.aff
@@ -531,6 +531,15 @@ REP ch k
 REP k ch
 #REP eee ee-E
 
+MAP 7
+MAP (ss)�
+MAP (ue)�
+MAP (Ue)�
+MAP (oe)�
+MAP (Oe)�
+MAP (ae)�
+MAP (Ae)�
+
 
 # this one will allow "-Eltern" - Hunspell 1.1.5 bug, but CHECKSHARPS 
obsoletes LANG de_DE
 #LANG de_DE
diff --git a/de/de_CH_frami.aff b/de/de_CH_frami.aff
index 97f695b..1bccc15 100644
--- a/de/de_CH_frami.aff
+++ b/de/de_CH_frami.aff
@@ -531,6 +531,15 @@ REP ch k
 REP k ch
 #REP eee ee-E
 
+MAP 7
+MAP (ss)�
+MAP (ue)�
+MAP (Ue)�
+MAP (oe)�
+MAP (Oe)�
+MAP (ae)�
+MAP (Ae)�
+
 
 # this one will allow "-Eltern" - Hunspell 1.1.5 bug, but CHECKSHARPS 
obsoletes LANG de_DE
 #LANG de_DE
diff --git a/de/de_DE_frami.aff b/de/de_DE_frami.aff
index 3c31576..12b9b58 100644
--- a/de/de_DE_frami.aff
+++ b/de/de_DE_frami.aff
@@ -531,6 +531,14 @@ REP ch k
 REP k ch
 #REP eee ee-E
 
+MAP 7
+MAP (ss)�
+MAP (ue)�
+MAP (Ue)�
+MAP (oe)�
+MAP (Oe)�
+MAP (ae)�
+MAP (Ae)�
 
 # this one will allow "-Eltern" - Hunspell 1.1.5 bug, but CHECKSHARPS 
obsoletes LANG de_DE
 #LANG de_DE

Reply via email to