Subject: bug#56414: closed (Re: bug#56414: [PATCH] Make gujarati-itrans method more phonetic)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 07 Jul 2022 06:49:02 +0000

Your bug report

#56414: [PATCH] Make gujarati-itrans method more phonetic

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56414: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56414
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#56414: [PATCH] Make gujarati-itrans method more phonetic
From: Eli Zaretskii <[email-masked]>
To: Visuwesh <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Thu, 07 Jul 2022 09:48:22 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Cc: [email-masked]
> From: Visuwesh <[email-masked]>
> Date: Wed, 06 Jul 2022 11:34:51 +0530
> 
> [புதன் ஜூலை 06, 2022] समीर सिंह Sameer Singh wrote:
> 
> > Not only Gujarati, I think languages like Marathi (uses Devanagari script),
> > Konkani (uses Devanagari and Kannada script), Kannada and Telugu also
> > pronounce ऋ as ru and ॠ 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 ज्ञ which is pronounced
> > as "gya" in Hindi and "dnya" in Marathi.
> >
> 
> Sounds good to me.
> 
> Revised patch attached.

Thanks, installed.

Subject: [PATCH] Make gujarati-itrans method more phonetic
From: Visuwesh <[email-masked]>
To: [email-masked]
Date: Wed, 06 Jul 2022 10:14:58 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch
X-Debugs-Cc: [email-masked]

In a private exchange I had with Kashual Modi (CC'ed), I learnt that the
translations for ઋ and ૠ 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.

>From 79803dccbd779b804100b57039fb7c9c2fc5ced9 Mon Sep 17 00:00:00 2001
From: Visuwesh <[email-masked]>
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
      ?ய ?ர ?ற ?ல ?ள ?ழ ?வ          ;; SEMIVOWELS
      ?ஶ ?ஷ ?ஸ ?ஹ                    ;; SIBILANTS
      nil nil nil nil nil nil nil nil      ;; NUKTAS
-     "ஜ்ஞ" "க்ஷ" "க்‌ஷ்")
+     "ஜ்ஞ" "க்ஷ" "க்‌ஷ")
     (;; Misc Symbols
      nil ?ஂ ?ஃ nil ?் ?ௐ nil)
     (;; Digits
@@ -292,7 +292,7 @@ indian-tml-base-digits-table
      ?ய ?ர ?ற ?ல ?ள ?ழ ?வ          ;; SEMIVOWELS
      ?ஶ ?ஷ ?ஸ ?ஹ                    ;; SIBILANTS
      nil nil nil nil nil nil nil nil      ;; NUKTAS
-     "ஜ்ஞ" "க்ஷ" "க்‌ஷ்")
+     "ஜ்ஞ" "க்ஷ" "க்‌ஷ")
     (;; Misc Symbols
      nil ?ஂ ?ஃ nil ?் ?ௐ nil)
     (;; Digits
@@ -330,6 +330,25 @@ indian-itrans-v5-table
     (;; misc -- 7
      ".N" (".n" "M") "H" ".a" ".h" ("AUM" "OM") "..")))
 
+(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
 
 (defvar indian-gjr-itrans-v5-hash
   (indian-make-hash indian-gjr-base-table
-			  indian-itrans-v5-table))
+			  indian-itrans-v5-table-for-gjr))
 
 (defvar indian-ori-itrans-v5-hash
   (indian-make-hash indian-ori-base-table
-- 
2.35.1