unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56414: [PATCH] Make gujarati-itrans method more phonetic
@ 2022-07-06  4:44 Visuwesh
  2022-07-06  5:33 ` समीर सिंह Sameer Singh
  0 siblings, 1 reply; 4+ messages in thread
From: Visuwesh @ 2022-07-06  4:44 UTC (permalink / raw)
  To: 56414

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

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 ઋ 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.


[-- Attachment #2: 0001-Make-the-gujarati-itrans-more-phonetic.patch --]
[-- Type: text/x-diff, Size: 2776 bytes --]

From 79803dccbd779b804100b57039fb7c9c2fc5ced9 Mon Sep 17 00:00:00 2001
From: Visuwesh <visuweshm@gmail.com>
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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-07  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06  4:44 bug#56414: [PATCH] Make gujarati-itrans method more phonetic Visuwesh
2022-07-06  5:33 ` समीर सिंह Sameer Singh
2022-07-06  6:04   ` Visuwesh
2022-07-07  6:48     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).