Module talk:my-translit

Draft module
Could you please have a look at this draft transliteration module for Burmese and see if anything needs to be improved? It's just MLC at present since I'm most familiar with it and most Burmese transliteration information on Wikipedia is about MLC. I want to do the other three systems as well, especially the BGN-PCGN system which is the de facto standard here. BGN-PCGN and Okell require additional information - we could probably write a function that analyses symbols used to denote pronunciation not inferrable from the script.

eg. (l/my: linking template; my-pron: pronunciation and romanisation template)

elsewhere, and or  at ခလုတ် elsewhere, and or  at ဆီပုံး elsewhere, and or  at စတော်ဘယ်ရီ elsewhere, and or  at ဘီး

There isn't a lot of information about the other systems though - I'm not sure how to transliterate the stacking consonants in in the other systems. The eventual goal would be Lua-ify and IPA, much like what Module:ko-pron is doing for.

All testcases pass currently, but there was one fail which I removed:. I don't understand the structure of that Burmese word - why does the medial 'y' not follow a base consonant letter?

Thanks! Wyang (talk) 14:34, 22 May 2014 (UTC)


 * Should letter be "r" or "j"? E.g. is "ci:pwa:re:" correct in ? Sorry, if this question is silly.--Anatoli (обсудить/вклад) 05:53, 23 May 2014 (UTC)


 * It is 'r' in the MLC system, regardless of its pronunciation. Wyang (talk) 06:13, 23 May 2014 (UTC)

fails badly in testcases and the whole module fails. --Anatoli (обсудить/вклад) 02:39, 26 May 2014 (UTC)

How should the final in the first syllable be transliterated? uiy., uii.? Wyang (talk) 23:39, 26 May 2014 (UTC)


 * I don't know, sorry :( I was just letting you know that some words are not transliterated. --Anatoli (обсудить/вклад) 00:18, 27 May 2014 (UTC)

Belated comments
For some reason I didn't get pinged when Wyang pinged me above, so I didn't know this module even existed until right now! I'm actually happy keeping it MLC and am hoping to make it the new de-facto standard for Burmese here at Wiktionary. BGN-PCGN would be hard to automate because it's pronunciation-based rather than spelling-based. is a weird spelling; it's basically a contraction of ယောက်ကျား and I guess it should be transliterated as if it were spelled that way. I'd transliterate "kuiy.". —Aɴɢʀ (talk) 17:28, 4 June 2014 (UTC)


 * Thanks, I have changed it to 'uiy'. Now we need to fill the following table of finals...

Wyang (talk) 07:03, 5 June 2014 (UTC)


 * MLC doesn't distinguish between ဉ and ည, so ကဉ် and ကည် are both kany. I can add the ALA-LC translits to the table above if you like (they're all at Appendix:Burmese transliteration anyway), but I really don't think there's any point in automating BGN-PCGN and Okell since they're pronunciation-based, not orthography-based. —Aɴɢʀ (talk) 15:28, 5 June 2014 (UTC)


 * Those two are pronunciation-based, but largely predictable, no? Minor syllables, voicing, etc. I think can be taken into account using special symbols. Ideally, could be fully automated, using nothing or an annotated phonetic respelling as input. Wyang (talk) 05:43, 6 June 2014 (UTC)
 * I reckon they're predictable from the spelling about 75% of the time. An open, creaky-voiced syllable followed by another syllable is usually a minor syllable (in other words, တကာ is far more likely to be than ). As long as the templates used outside Burmese entries (,, , etc.) use only MLC, then I don't mind automating . If the phonetic transcriptions are predictable from the orthography, then we don't have to add anything; if not, we can add a single phonetic transcription as a parameter to  and have both BGN-PCGN and Okell be predicted from that. I'd recommend using BGN-PCGN as that single transcription, but substituting "@" for "ă" and "E" for "è" so that everything can be typed from an unmodified keyboard. —Aɴɢʀ (talk) 18:50, 6 June 2014 (UTC)


 * Thanks, I see what you mean. Do you think it would be better to use BGN-PCGN as the transcription input, or an annotated Burmese-script word (like the examples in my first post)? It would only be used in if the romanisation used in linking templates is MLC. Wyang (talk) 23:53, 11 June 2014 (UTC)
 * Well, it would certainly make my life easier if the transcription input consisted only of characters I can get on an unmodified ASCII keyboard. —Aɴɢʀ (talk) 14:31, 12 June 2014 (UTC)

Abbreviations
The following abbreviations should be added to the module please:. Thanks! —Aɴɢʀ (talk) 20:58, 7 August 2014 (UTC)
 * Added now. Wyang (talk) 23:36, 7 August 2014 (UTC)

Adding a hyphen

 * could you please add a function to insert a hyphen before a syllable-initial vowel when it's preceded by a consonant letter? For example, ဝက်အူ is currently transliterated as waku, but it should really be wak-u. (The transliteration waku would be appropriate only for "ဝကူ".) Thanks! —Aɴɢʀ (talk) 21:31, 3 December 2016 (UTC)
 * Hi Angr. No problem - I added the hyphen for these cases. Wyang (talk) 22:49, 3 December 2016 (UTC)