Open hikari-no-yume opened 8 years ago
I agree this would be a great feature to have, but there's not an obvious way to implement this right now.
I just added my thoughts to the FAQ also https://github.com/witch-house/pronoun.is#can-we-add-pronunciation-guides
Trying to support multiple pronunciation schemes (which is probably necessary) will make it hard to keep the defaults table simple and intuitive, but a starting point may be to add support via query parameters. Maybe something like pronoun.is/he/him?pronounced=HEE/HIMM&pronounced=IPA:ˈhiː/ˈhɪm
For the defaults, maybe the best solution is to add separate tables (getting a little bit SQL-y). The first column could identify the pronoun set using the same conventions as the resource paths:
he HEE HIHM HIHZ HIHZ HIHM-SEHLF
they/.../themself THAY THEHM THEHR THEHRS THEHM-SEHLF
Separate files can be used to define whatever extra phonetic spelling schemes we'd want to support (ipa.tab, enpr.tab, etc.).
A straightforward way for doing this is something like
And there may be a redirection from https://pronoun.is/she?p=IPA&d=GenAm to the link above.
Any idea on this issue? @untunt
Since English's spelling is notoriously inconsistent, it might be helpful to give people a guide to pronunciation for some of these. This would be especially helpful for non-native English speakers, who are probably more likely to make a poor guess of pronunciation.
A given pronoun set might have multiple conceivable pronunciations. I don't think we could really say which is more correct, we can list whichever we're aware of. We'd have to crowdsource these much like we do pronoun sets themselves.
The guides could consist of, for example, International Phonetic Alphabet (e.g. a conceivable pronunciation of “zir” might be UK: /ˈzɜː(ɹ)/, US: /ˈzɝ/ using Wiktionary's English IPA key), re-spelled English (e.g. “zir” might be “zər” using Wikipedia's respelling key), and an intuitive guide (e.g. ‘”zir” is pronounced like “her” but with the “h” replaced with a “z”’).
Thoughts?