From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56414: [PATCH] Make gujarati-itrans method more phonetic Date: Wed, 06 Jul 2022 10:14:58 +0530 Message-ID: <874jzuzw6t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34263"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 56414@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 06:46:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8wva-0008mp-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 06:46:18 +0200 Original-Received: from localhost ([::1]:44028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8wvY-00071t-Ss for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 00:46:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8wvK-00071U-G9 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 00:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8wvK-0004bu-4i for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 00:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8wvK-0005ca-0p for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 00:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2022 04:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56414 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165708273221567 (code B ref -1); Wed, 06 Jul 2022 04:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jul 2022 04:45:32 +0000 Original-Received: from localhost ([127.0.0.1]:52036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8wuq-0005bn-Ho for submit@debbugs.gnu.org; Wed, 06 Jul 2022 00:45:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8wum-0005bd-6z for submit@debbugs.gnu.org; Wed, 06 Jul 2022 00:45:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8wug-0006ZC-Fp for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 00:45:26 -0400 Original-Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:39552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8wue-0004SM-91 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 00:45:21 -0400 Original-Received: by mail-pl1-x643.google.com with SMTP id c13so8943974pla.6 for ; Tue, 05 Jul 2022 21:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=VYSmuERm4qYHAwpRuSEJs+tVHtQSZs865lWVPGH+YdM=; b=dzRsyCiFwyoFpq0QnXflQBCeNNmRFsMJfamvGmCeg6USSdiG4v0VgaGEsA12QnPcCo UL1npBH0zaOPubc2JVTxwtavio4fvuhESH7/F1ZJTbFNHk4QoPTrRrUGOG7AyPAUFiQh Q9RQcvdmlu/2nYx9DsNm6wrYnXlON76lncHuWs+jHQYaOVI9oQtl4GaJkVaOe8H0v1XG n9w1ffoX48N4Zx2cG/iZktkpY5mmfjjm31/ctqKivEuM0Y8OJT6seflAS9NCCjey9jGG QVt934Ut0X1I7JS94BjTGuyKAHmOeetJaj9WzD2wfrAhuDKuiZX5G9YE6vbnZk/AGVTW +zaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=VYSmuERm4qYHAwpRuSEJs+tVHtQSZs865lWVPGH+YdM=; b=VJTprVHqBGIdQXjceASZ/ZH4L2kdzAyyRA2yVrPdVDff4eG61iVTAvNuXOUGg+3pc5 QD4v7Y5S2BCIhFi/T21FT9gaFIKcNbaJe1WLTa2y1E7VKth2CyWYWzUxc3I+cyNVG40v iXlJW/GSH5OlvCot0KTkTIlxfagbMv9VzRkv3Jw4BG7GWaw0Twk5oYvtZWe/xL/gSdHk wQKdvjzk0a2efiCer5T/JYkTJ7ysz8HrqVcDAd7AyAdDYpc6fEpHnIh7Fm18OHni0EvU KKLHgFBW9q3O1hOiLoIAmPEL0N3bc0JbNzKFEHVYGoATXQPIaYpjj3HxxSmiJF8OPI36 GogA== X-Gm-Message-State: AJIora/p8tI5ZpWsVscOOlp4Uw8xvpvg2wQfgYk2iaRgfAF2ZHp3X7Ww zxKSfh2c4icx3qzHh1VJRrwODcqMpcE= X-Google-Smtp-Source: AGRyM1ue9dKBGw0pg3r9p2i3LPoz32koYB80R9cArKHBH+qhqgmjxGGMR4migqokmyo3R8rRQitjXA== X-Received: by 2002:a17:90b:1e0e:b0:1ef:97f9:dfb5 with SMTP id pg14-20020a17090b1e0e00b001ef97f9dfb5mr9394069pjb.217.1657082712727; Tue, 05 Jul 2022 21:45:12 -0700 (PDT) Original-Received: from localhost ([49.204.116.18]) by smtp.gmail.com with ESMTPSA id cp2-20020a170902e78200b001664d88aab3sm24272756plb.240.2022.07.05.21.45.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 21:45:11 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::643; envelope-from=visuweshm@gmail.com; helo=mail-pl1-x643.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236196 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tags: patch X-Debugs-Cc: kaushal.modi@gmail.com In a private exchange I had with Kashual Modi (CC'ed), I learnt that the translations for =E0=AA=8B and =E0=AB=A0 should be RRu and RRU respectively= since they are pronounced as ru and not ri (the current translations are RRi and RRI respectively). This is also reflected in the table found in the Vowels section in the wikipedia link here https://en.wikipedia.org/wiki/Gujarati_script#Gujarati_letters,_diacritics,= _and_digits. Attached patch adjusts the gujarati-itrans translation table to make it a bit more phonetic by following the above (and also fixes a typo I made in my last patch). Thanks. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-Make-the-gujarati-itrans-more-phonetic.patch Content-Transfer-Encoding: quoted-printable >From 79803dccbd779b804100b57039fb7c9c2fc5ced9 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Wed, 6 Jul 2022 10:03:59 +0530 Subject: [PATCH] Make the gujarati-itrans more phonetic * lisp/language/ind-util.el (indian-itrans-v5-table-for-gjr): New translation table for Gujarati. (indian-gjr-itrans-v5-hash): Use the new table. (indian-tml-base-table, indian-tml-base-digits-table): Fix typo. --- lisp/language/ind-util.el | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/lisp/language/ind-util.el b/lisp/language/ind-util.el index fa380dbde7..cbddb41bf3 100644 --- a/lisp/language/ind-util.el +++ b/lisp/language/ind-util.el @@ -269,7 +269,7 @@ indian-tml-base-table ?=E0=AE=AF ?=E0=AE=B0 ?=E0=AE=B1 ?=E0=AE=B2 ?=E0=AE=B3 ?=E0=AE=B4 ?= =E0=AE=B5 ;; SEMIVOWELS ?=E0=AE=B6 ?=E0=AE=B7 ?=E0=AE=B8 ?=E0=AE=B9 ;; SIB= ILANTS nil nil nil nil nil nil nil nil ;; NUKTAS - "=E0=AE=9C=E0=AF=8D=E0=AE=9E" "=E0=AE=95=E0=AF=8D=E0=AE=B7" "=E0=AE= =95=E0=AF=8D=E2=80=8C=E0=AE=B7=E0=AF=8D") + "=E0=AE=9C=E0=AF=8D=E0=AE=9E" "=E0=AE=95=E0=AF=8D=E0=AE=B7" "=E0=AE= =95=E0=AF=8D=E2=80=8C=E0=AE=B7") (;; Misc Symbols nil ?=E0=AE=82 ?=E0=AE=83 nil ?=E0=AF=8D ?=E0=AF=90 nil) (;; Digits @@ -292,7 +292,7 @@ indian-tml-base-digits-table ?=E0=AE=AF ?=E0=AE=B0 ?=E0=AE=B1 ?=E0=AE=B2 ?=E0=AE=B3 ?=E0=AE=B4 ?= =E0=AE=B5 ;; SEMIVOWELS ?=E0=AE=B6 ?=E0=AE=B7 ?=E0=AE=B8 ?=E0=AE=B9 ;; SIB= ILANTS nil nil nil nil nil nil nil nil ;; NUKTAS - "=E0=AE=9C=E0=AF=8D=E0=AE=9E" "=E0=AE=95=E0=AF=8D=E0=AE=B7" "=E0=AE= =95=E0=AF=8D=E2=80=8C=E0=AE=B7=E0=AF=8D") + "=E0=AE=9C=E0=AF=8D=E0=AE=9E" "=E0=AE=95=E0=AF=8D=E0=AE=B7" "=E0=AE= =95=E0=AF=8D=E2=80=8C=E0=AE=B7") (;; Misc Symbols nil ?=E0=AE=82 ?=E0=AE=83 nil ?=E0=AF=8D ?=E0=AF=90 nil) (;; Digits @@ -330,6 +330,25 @@ indian-itrans-v5-table (;; misc -- 7 ".N" (".n" "M") "H" ".a" ".h" ("AUM" "OM") ".."))) =20 +(defvar indian-itrans-v5-table-for-gjr + '(;; for encode/decode + (;; vowels -- 18 + "a" ("aa" "A") "i" ("ii" "I") "u" ("uu" "U") + ("RRu" "R^u") ("LLi" "L^i") (".c" "e.c") "E" "e" "ai" + "o.c" "O" "o" "au" ("RRU" "R^U") ("LLI" "L^I")) + (;; consonants -- 40 + "k" "kh" "g" "gh" ("~N" "N^") + "ch" ("Ch" "chh") "j" "jh" ("~n" "JN") + "T" "Th" "D" "Dh" "N" + "t" "th" "d" "dh" "n" "nh" + "p" "ph" "b" "bh" "m" + "y" "r" "rh" "l" ("L" "ld") nil ("v" "w") + "sh" ("Sh" "shh") "s" "h" + "q" "K" "G" ("J" "z") ".D" ".Dh" "f" ("Y" "yh") + ("GY" "dny") "x") + (;; misc -- 7 + ".N" (".n" "M") "H" ".a" ".h" ("AUM" "OM") ".."))) + (defvar indian-itrans-v5-table-for-tamil '(;; for encode/decode (;; vowels -- 18 @@ -547,7 +566,7 @@ indian-pnj-itrans-v5-hash =20 (defvar indian-gjr-itrans-v5-hash (indian-make-hash indian-gjr-base-table - indian-itrans-v5-table)) + indian-itrans-v5-table-for-gjr)) =20 (defvar indian-ori-itrans-v5-hash (indian-make-hash indian-ori-base-table --=20 2.35.1 --=-=-=--