From 833b4a21549f7ea8067291f344f6acdeaff3f079 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Fri, 10 Apr 2026 19:08:23 +0200 Subject: Better suggestion with diacritics (#1223) * Update cdict * scripts/subst_of_compose.py: Compute substitutions from compose mappings. They are used when building dictionaries. * Add substitutions compose data * Better suggestion with diacritics This improves the suggestions for words that contain diacritics and uppercase letters. This works by stripping diacritics both when building the dictionaries (using word aliases added in cdict: https://github.com/Julow/cdict/pull/3) and during lookup. Cdict then takes care of resolving the correct word. The substitutions are generated using mappings from `fn`, `shift` and all the `accent_*` modifiers into srcs/compose/substitutions.json This can be updated easily when more mappings are added.--- vendor/cdict | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/cdict') diff --git a/vendor/cdict b/vendor/cdict index aa1c986..0b772b9 160000 --- a/vendor/cdict +++ b/vendor/cdict @@ -1 +1 @@ -Subproject commit aa1c986e79a632dff0a81f92c75d720e80aa8443 +Subproject commit 0b772b9db9762a141afbb18cc14d407a8fb3b2b9 -- cgit v1.2.3