From: Garrett Mitchener <garrett.mitchener@gmail.com>
To: 36198@debbugs.gnu.org
Subject: bug#36198: [PATCH] Update ipa-praat.el to match more recent versions of Praat
Date: Thu, 13 Jun 2019 16:50:35 -0400 [thread overview]
Message-ID: <CANHb3+k2dVua92_Qd9oxWiD33mzzex-y1h0oEqfXodq=4hxVnA@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2019-06-13 20:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 20:50 Garrett Mitchener [this message]
2019-06-14 5:57 ` bug#36198: [PATCH] Update ipa-praat.el to match more recent versions of Praat 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANHb3+k2dVua92_Qd9oxWiD33mzzex-y1h0oEqfXodq=4hxVnA@mail.gmail.com' \
--to=garrett.mitchener@gmail.com \
--cc=36198@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.