unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36198: [PATCH] Update ipa-praat.el to match more recent versions of Praat
@ 2019-06-13 20:50 Garrett Mitchener
  2019-06-14  5:57 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Garrett Mitchener @ 2019-06-13 20:50 UTC (permalink / raw)
  To: 36198


[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]

Hi, I'm a math professor and linguist at the College of Charleston. I
needed to add some symbols to the IPA-Praat text input method, so I looked
at ipa-praat.el and figured out how it worked. I added several symbols,
improved some documentation, and fixed a few bugs. I've attached a patch.
Hope you can use it.

-- Garrett Mitchener

[-- Attachment #1.2: Type: text/html, Size: 630 bytes --]

[-- Attachment #2: 0001-Updated-to-match-more-recent-versions-of-Praat.patch --]
[-- Type: text/x-patch, Size: 3576 bytes --]

From 5b0d8897762d67f6ed7babd7447f39217ea7929b Mon Sep 17 00:00:00 2001
From: "W. Garrett Mitchener" <garrett.mitchener@gmail.com>
Date: Thu, 13 Jun 2019 16:36:42 -0400
Subject: [PATCH] Updated to match more recent versions of Praat.

- \rh was used for ram's horns (a vowel) and rhoticity hook (a
  diacritic).  Praat uses \hr for the hook, so I made that changed.

- \e3v for the slightly rounded diacritic seems to have been a typo
  related to the use of e in the example.  Changed it to \3v to match
  Praat.

- Added examples to the table of tone diacritics

- Added \^h for superscript h

- Added \^H for superscript h with hook

- Added \^w for superscript w (labialization)

- Added \^j for superscript j (palatalization)

- Added \^g for superscript symbol (velarization)

- Added \^9 for superscript symbol (pharyngealization)
---
 lisp/leim/quail/ipa-praat.el | 37 ++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)

diff --git a/lisp/leim/quail/ipa-praat.el b/lisp/leim/quail/ipa-praat.el
index 74a2dcc..169dbcf 100644
--- a/lisp/leim/quail/ipa-praat.el
+++ b/lisp/leim/quail/ipa-praat.el
@@ -148,7 +148,14 @@ input | example | description
 \\'1   | ˈ       | primary stress
 \\'2   | ˌ       | secondary stress
 \\cn   | t̚       | unreleased plosive
-\\rh   | ɜ˞      | rhotacized vowel
+\\hr   | ɜ˞      | rhotacized vowel
+\\^h   | ʰ       | aspiration
+\\^H   | ʱ       | voiced aspiration
+\\^w   | ʷ       | labialized, rounded
+\\^j   | ʲ       | palatalized
+\\^g   | ˠ       | velarized
+\\^9   | ˤ       | pharyngealized
+
 
 - Understrikes
 
@@ -168,7 +175,7 @@ input | example | description
 \\Uv   | d̺       | apical
 \\Dv   | d̻       | laminal
 \\nv   | u̯       | nonsyllabic
-\\e3v  | e̹       | slightly rounded
+\\3v   | e̹       | slightly rounded
 \\cv   | u̜       | slightly unrounded
 
 - Overstrikes
@@ -176,14 +183,14 @@ input | example | description
 input | example | description
 ------+---------+--------------------------------------------
 \\0^   | ɣ̊       | voiceless
-\\'^   |         | high tone
-\\`^   |         | low tone
-\\-^   |         | mid tone
-\\~^   |         | nasalized
-\\v^   |         | rising tone
-\\^^   |         | falling tone
-\\:^   |         | centralized
-\\N^   |         | short
+\\'^   | é       | high tone
+\\`^   | è       | low tone
+\\-^   | ē       | mid tone
+\\~^   | ẽ       | nasalized
+\\v^   | ě       | rising tone
+\\^^   | ê       | falling tone
+\\:^   | ë       | centralized
+\\N^   | ĕ       | short
 \\li   | k͡p      | simultaneous articulation or single segment
 "
  nil t nil nil nil nil nil nil nil nil t)
@@ -308,7 +315,13 @@ input | example | description
  ("\\'1" ?ˈ) ; primary stress
  ("\\'2" ?ˌ) ; secondary stress
  ("\\cn" #x031A) ; t̚ unreleased plosive
- ("\\rh" #x02DE) ; ɜ˞ rhotacized vowel
+ ("\\hr" #x02DE) ; ɜ˞ rhotacized vowel
+ ("\\^h" ?ʰ) ; ʰ aspiration (usually following a plosive)
+ ("\\^H" ?ʱ) ; ʱ voiced aspiration (usually following a plosive)
+ ("\\^w" ?ʷ) ; labialized
+ ("\\^j" ?ʲ) ; palatalized
+ ("\\^g" ?ˠ) ; velarized
+ ("\\^9" ?ˤ) ; pharyngealized
 
  ("\\|v" #x0329) ; n̩ syllabic consonant
  ("\\0v" #x0325) ; b̥ voiceless
@@ -324,7 +337,7 @@ input | example | description
  ("\\Uv" #x033A) ; d̺ apical
  ("\\Dv" #x033B) ; d̻ laminal
  ("\\nv" #x032F) ; u̯ nonsyllabic
- ("\\e3v" #x0339) ; e̹ slightly rounded
+ ("\\3v" #x0339) ; e̹ slightly rounded
  ("\\cv" #x031C) ; u̜ slightly unrounded
 
  ("\\0^" #x030A) ; ɣ̊ voiceless
-- 
2.21.0


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

end of thread, other threads:[~2019-09-17 13:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13 20:50 bug#36198: [PATCH] Update ipa-praat.el to match more recent versions of Praat Garrett Mitchener
2019-06-14  5:57 ` Eli Zaretskii
2019-09-16 21:03   ` Lars Ingebrigtsen
2019-09-17  5:52     ` Eli Zaretskii
2019-09-17 11:57       ` Lars Ingebrigtsen
2019-09-17 13:07         ` Garrett Mitchener

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