From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh Newsgroups: gmane.emacs.bugs Subject: bug#56414: [PATCH] Make gujarati-itrans method more phonetic Date: Wed, 6 Jul 2022 11:03:18 +0530 Message-ID: References: <874jzuzw6t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001db5b605e31c4fa5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19368"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56414@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 07:34:14 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 1o8xfy-0004ks-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 07:34:14 +0200 Original-Received: from localhost ([::1]:51224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8xfw-0005UR-Mm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 01:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8xfm-0005St-Oa for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 01:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8xfm-0003Dg-G0 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 01:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8xfm-00076e-E4 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 01:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2022 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56414 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56414-submit@debbugs.gnu.org id=B56414.165708561727267 (code B ref 56414); Wed, 06 Jul 2022 05:34:02 +0000 Original-Received: (at 56414) by debbugs.gnu.org; 6 Jul 2022 05:33:37 +0000 Original-Received: from localhost ([127.0.0.1]:52085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8xfN-00075i-AE for submit@debbugs.gnu.org; Wed, 06 Jul 2022 01:33:37 -0400 Original-Received: from mail-qk1-f181.google.com ([209.85.222.181]:33718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8xfL-00075S-6r for 56414@debbugs.gnu.org; Wed, 06 Jul 2022 01:33:35 -0400 Original-Received: by mail-qk1-f181.google.com with SMTP id f14so10377180qkm.0 for <56414@debbugs.gnu.org>; Tue, 05 Jul 2022 22:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hK+qobykxm4bCoDEh5LWl5yUKh4Wi1hDIveIlpZMdaM=; b=V2Y7VLmCPxoPPvQaPOubeIsF+509At2tdML8LU1RQysTuvOBYCd3fi6Zdi7MmOP7Cy IZL4Km+dRBO/n0oftEGFRTmO6gA1bTUYIhV+xn6lZJ55EFWx3jD2BJ1qF0zVIKF1ymkN AZHgam034HCqFktKH0GTLTIiKZBpfINtDLCKkMSE7cUd5PvJdDwaktoZex4mZSp6Ray/ OEHeACvXhzWjtWWvaX00yIMvWtrtrPyY0OrIV9QwCb4YmYL73VP0OwMzUoMWDieH1UoY xDKrkBqxf2Cw4TlaHQfyxLqUkf5ol4AdDPTqFL5RSriqIxLLMvHA6YBREXa6rvmf9Wx+ WNjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hK+qobykxm4bCoDEh5LWl5yUKh4Wi1hDIveIlpZMdaM=; b=D/UBKXz0seZqxa/14SJ/lP57r+KXkW6nAlyE3iSkWjU3TabJpqItinCRaXBIY20F80 Iv3WnYgXrbY2guweSb9Dy+Zu1sqHXh2JNGeup0JSnMJAYVXL5LhkQN4FOEi3Y6RoHuTN USd8S+gUxWroclFX8BnbSyYh1bW7HE1Nn8yovRHak6CSZtRjZJa8DpMpkU4BgDVqBby3 T1hniZkA2sv9gSyHVHgX3qC03agCx0bPHojjNmgXV1ZbTQHj6+vTfjVl7u1609anqtlm sxAegZZ/mFEup6YMbTMWxKzsJm5/iSzCuKj6quchxq8vSo/FaAChMzBhcLt84FxFrXOh LvhA== X-Gm-Message-State: AJIora+FLoP+wqlkOkVaeeN2SIukP46CGP6xnjR08NV3niIksTidj1w+ 5ITM3Z3x8TmjOlhey4t+OCJetdEk2f89GCUbY4U= X-Google-Smtp-Source: AGRyM1tjJpeVIHaWVEN61MwwrwNQd0Y+41sI87PSJw8wGJ4hs4/1yFPa5hU/5kqu7aoItPFMDj7XIDMCYLaU0Epwf5w= X-Received: by 2002:a37:6845:0:b0:6ae:d58a:4131 with SMTP id d66-20020a376845000000b006aed58a4131mr26341837qkc.605.1657085609488; Tue, 05 Jul 2022 22:33:29 -0700 (PDT) In-Reply-To: <874jzuzw6t.fsf@gmail.com> 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:236198 Archived-At: --0000000000001db5b605e31c4fa5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Not only Gujarati, I think languages like Marathi (uses Devanagari script), Konkani (uses Devanagari and Kannada script), Kannada and Telugu also pronounce =E0=A4=8B as ru and =E0=A5=A0 as ruu. Therefore instead of introducing a new table we should simply add more options in the pre-existing indian-itrans-v5-table, like we have already done for something like =E0=A4=9C=E0=A5=8D=E0=A4=9E which is pronounced as "gya" in Hindi and "dnya" in Marathi. Something like: 1 file changed, 2 insertions(+), 2 deletions(-) lisp/language/ind-util.el | 4 ++-- modified lisp/language/ind-util.el @@ -315,8 +315,8 @@ indian-itrans-v5-table '(;; for encode/decode (;; vowels -- 18 "a" ("aa" "A") "i" ("ii" "I") "u" ("uu" "U") - ("RRi" "R^i") ("LLi" "L^i") (".c" "e.c") "E" "e" "ai" - "o.c" "O" "o" "au" ("RRI" "R^I") ("LLI" "L^I")) + ("RRi" "R^i" "RRu" "R^u") ("LLi" "L^i") (".c" "e.c") "E" "e" "ai" + "o.c" "O" "o" "au" ("RRI" "R^I" "RRU" "R^U") ("LLI" "L^I")) (;; consonants -- 40 "k" "kh" "g" "gh" ("~N" "N^") "ch" ("Ch" "chh") "j" "jh" ("~n" "JN") On Wed, Jul 6, 2022 at 10:16 AM Visuwesh wrote: > 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 respective= ly 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,_diacritic= s,_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. > > --0000000000001db5b605e31c4fa5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Not only Gujarati, I think languages like Marathi (us= es Devanagari script), Konkani (uses Devanagari and Kannada script), Kannad= a and Telugu also pronounce =E0=A4=8B as ru and =E0=A5=A0 as ruu.

Therefore instead of introducing a new table we should simp= ly add more options in the pre-existing indian-itrans-v5-table, like we hav= e already done for something like =E0=A4=9C=E0=A5=8D=E0=A4=9E which is pron= ounced
as "gya" in Hindi and "dnya" in Marath= i.

Something like:
1 file changed, 2 ins= ertions(+), 2 deletions(-)
lisp/language/ind-util.el | 4 ++--

mod= ified =C2=A0 lisp/language/ind-util.el
@@ -315,8 +315,8 @@ indian-itrans= -v5-table
=C2=A0 =C2=A0'(;; for encode/decode
=C2=A0 =C2=A0 =C2= =A0(;; vowels -- 18
=C2=A0 =C2=A0 =C2=A0 "a" ("aa" &= quot;A") "i" ("ii" "I") "u" (&= quot;uu" "U")
- =C2=A0 =C2=A0 ("RRi" "R^i&= quot;) ("LLi" "L^i") (".c" "e.c") &= quot;E" "e" "ai"
- =C2=A0 =C2=A0 "o.c"= ; =C2=A0"O" =C2=A0 "o" =C2=A0 "au" =C2=A0(&qu= ot;RRI" "R^I") ("LLI" "L^I"))
+ =C2= =A0 =C2=A0 ("RRi" "R^i" "RRu" "R^u"= ) ("LLi" "L^i") (".c" "e.c") "= E" "e" "ai"
+ =C2=A0 =C2=A0 "o.c" =C2= =A0"O" =C2=A0 "o" =C2=A0 "au" =C2=A0("RR= I" "R^I" "RRU" "R^U") ("LLI" &= quot;L^I"))
=C2=A0 =C2=A0 =C2=A0(;; consonants -- 40
=C2=A0 =C2= =A0 =C2=A0 "k" =C2=A0 "kh" =C2=A0"g" =C2=A0 &= quot;gh" =C2=A0("~N" "N^")
=C2=A0 =C2=A0 =C2=A0= "ch" ("Ch" "chh") "j" "jh&quo= t; ("~n" "JN")


On Wed, Jul 6, 2022 at 10:1= 6 AM Visuwesh <visuweshm@gmail.co= m> wrote:
Tags: patch
X-Debugs-Cc: ka= ushal.modi@gmail.com

In a private exchange I had with Kashual Modi (CC'ed), I learnt that th= e
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).=C2=A0 This is also reflected in the table found in the Vowels section in the wikipedia link here
https://en.wik= ipedia.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.

--0000000000001db5b605e31c4fa5--