From 2e0a0b863d1f7c156447883329390dafe94706b1 Mon Sep 17 00:00:00 2001 From: dymik739 Date: Wed, 19 Apr 2023 18:15:29 +0300 Subject: [PATCH] transliteration-decoder: add en-ua-direct model (casts english keyboard layout directly to ukrainian) --- .../translate_models.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/modules/transliteration-decoder/translate_models.json b/modules/transliteration-decoder/translate_models.json index 81b2a1b..f8e314d 100644 --- a/modules/transliteration-decoder/translate_models.json +++ b/modules/transliteration-decoder/translate_models.json @@ -32,5 +32,44 @@ ["i", "і"], ["g", "г"], ["`", "'"] + ], + "en-ua-direct": [ + ["q", "й"], + ["w", "ц"], + ["e", "у"], + ["r", "к"], + ["t", "е"], + ["y", "н"], + ["u", "г"], + ["i", "ш"], + ["o", "щ"], + ["p", "з"], + ["a", "ф"], + ["s", "і"], + ["d", "в"], + ["f", "а"], + ["g", "п"], + ["h", "р"], + ["j", "о"], + ["k", "л"], + ["l", "д"], + [":", "ж"], + ["'", "є"], + ["z", "я"], + ["x", "ч"], + ["c", "с"], + ["v", "м"], + ["b", "и"], + ["n", "т"], + ["m", "ь"], + [",", "б"], + [".", "ю"], + ["/", "."], + ["?", ","], + ["@", "\""], + ["#", "№"], + ["$", ";"], + ["^", ":"], + ["&", "?"] ] }