Template talk:Pronounce

Multiple words
Great job with this template! I guess we could move the discussion regarding details on the template that started there to this page.

As a first feature request post-implementation, could the template include a way to accommodate multiple words? For example, Ras Nsi should not have the dash between RAZ and nuh. &mdash; Sirwhiteout (talk) 15:42, May 16, 2018 (UTC)


 * Yes, I think I can do that. ~ Lhynard (talk) 15:48, May 16, 2018 (UTC)


 * Done. ~ Lhynard (talk) 16:09, May 16, 2018 (UTC)

Progress Toward IPA
So, I've made a huge amount of progress, I think. I have it so that the (sandbox version of the) template generates the IPA correctly, to the best of my knowledge. I've used a merging of the Dragon article and Wikipedia's standards. Here are the examples:

Examples










To Do

 * Pre-convert some phonetic spellings that are not standard or are weird, such as "RILL" instead of "RIL", "@" for "&aelig;" etc. &mdash; ✅
 * Deal with accent. As you can see, right now it just shoves all the syllables together. &mdash; ✅
 * Add the links to the help pages (and create the help pages [✅] and redirects).

Help Page
Here is the new help page for general pronunciation matters: Help:Pronunciation guides

~ Lhynard (talk) 02:38, May 18, 2018 (UTC)

Quirks & Queries
Some of the pronunciation examples seem to depend on local accents. For example, in "halfling", "half" is pronounced /hɑːf/ in a Standard English–based accent (like what I'm used to in Australian) and as /hæf/ in a General American accent, which is what's used here. Should the accent be mentioned here?

Doing the Pronounce templates for Ilmater, the sourcebooks gave "ihl-" and "ill-", which the templates process to the same IPA, "/ɪl/". The Pronunciation Table suggests this is working as intended, but is something missing? I thought "h" might indicate an aspiration. — BadCatMan (talk) 09:46, May 20, 2018 (UTC)


 * Yes, pronunciation is extremely dependent on local accent, and the /æ/ of American English is a perfect example. I would rather leave it off and use /ɑː/, but the Dragon article makes it clear that it is present in a large number of the words. (As other examples, I, and many Americans, literally cannot hear the difference between /ɑː/ and /ɔː/, and even though I am using /r/ here to represent English "r", English "r" is actually /ɹ/. What I came to was based highly on the solutions that Wikipedia agreed on, with a few exceptions. Until WotC gives us IPA in sourcebooks, it's hard to do much better, I think.) I agree that it is worth mentioning that the sourcebooks are giving American accents, just as they give American spellings. I wish that weren't the case, but it is what it is. (Do the translations of sourcebooks into other languages have IPA?)


 * As far as the "ih" respelling, while IPA /h/ is always pronounced, in English phonetic respelling "h" after a vowel is basically used as a silent marker to help clarify vowel sounds. "i" and "ih" are the same, but "u" and "uh" are different. I didn't make that up.


 * ~ Lhynard (talk) 20:11, May 20, 2018 (UTC)


 * Okay, thanks. I know zip about IPA, so I'll take your word for it. :) I always thought the phonetic respellings were basically ad hoc. I haven't seen a foreign translation, so I don't know how they do it.


 * Alright. If "ihl-" and "ill-" are equivalent, should I just pick one over the other? If so, which: the latest published, or the more IPA-friendly "il-"? — BadCatMan (talk) 09:15, May 21, 2018 (UTC)


 * I would just pick one over the other but include both references with the  field. I see it that the sources agree on how the word is pronounced; they just express it differently. Yes, I would personally use "il-", but as you can see, it doesn't really matter here. ~ Lhynard (talk) 12:08, May 21, 2018 (UTC)


 * More questions. If a word has multiple stresses, how do I know which should have the primary stress? Is it just the first one? What if a pronunciation has no stresses? I'm looking at the Ylraphon here, with its ever-changing pronunciations and spelling. — BadCatMan (talk) 10:15, May 21, 2018 (UTC)


 * The problem is that many of the sourcebooks do a rather terrible job at the respelling thing and use no standard, so we sometimes will have to make judgment calls. For primary stress, I coded it up to pick the first stress as primary if the user did not fill in the  field, but that was arbitrary. I would go with how you personally pronounce it or take some sort of average if there are multiple sources. ~ Lhynard (talk) 12:08, May 21, 2018 (UTC)


 * Okay, thanks. — BadCatMan (talk) 12:41, May 21, 2018 (UTC)

IPA issues
I have noticed a few issues with the handling of the "o" respelling and conversion to IPA. Some of the transcriptions are rendering incorrectly. In particular, the "ow" in drow and dao, which should be /aʊ/, appears as /oʊw/.

Another (probably harder) issue comes from transcriptions from sources other than the Dragon article. They introduce an ambiguity when handling open "o" (as in /ɒ/, /ɑ/, /ʌ/ and /ɔ/) or closed "o" (/oʊ/) in some syllables. This issue does not appear in the Dragon article because the author cleverly replaces it for "a" or "0" (/ɒ/) everywhere it's open. But other sources don't. For example, I'm pretty sure that the "o" in yugoloth and all the other "-loths" is open, but they are being rendered as closed. This is mostly intuitive, however. Is there a formal rule about that? ― Sirwhiteout (talk) 17:19, May 22, 2018 (UTC)
 * I noticed another error: the "ion" in "Gwydion" is being rendered as /ioʊn/, but should be /iən/. --Ir&#39;revrykal (talk) 17:29, May 22, 2018 (UTC)