Module talk:Tibt-translit/testcases

From Wiktionary, the free dictionary
Latest comment: 10 years ago by Wyang
Jump to navigation Jump to search

Sorry @User:Kephir I reverted to the previous version. The new version looks nicely succinct but is unfortunately not functioning properly. Module:bo-translit/testcases shows 167 fails. Wyang (talk) 05:21, 15 January 2014 (UTC)Reply

@User:Wyang: There was no need to revert. The {{bo-translit}} template still uses the old method.
Can you explain how this transliteration scheme works? The template code is nearly impossible to follow. I also found some Java code which does it, I find that one quite hard to read too. Keφr 08:31, 15 January 2014 (UTC)Reply
Basically, the hard part is finding out where the vowel is when transliterating a syllable. It is easy when vowel signs or subjoined/superjoined consonants are present - the vowel is after the prefix+superjoined+base+subjoined sequence. For syllables lacking these signs, the written syllable is a string of ordinary consonant letters, following the sequence of prefix+base+suffix(+'s'). Tibetan phonotactics only allows certain letters as prefix and suffix, thus by inspecting whether the first and second letters are a valid prefix+base sequence the position of the vowel can be ascertained. Wyang (talk) 11:39, 15 January 2014 (UTC)Reply