Module talk:tl-pron/sandbox

Fix needed
Have finally fixed bugs affecting test cases at Module:tl-pron/sandbox/testcases, but can you further fix this module before the changes can be implemented on the existing module? Specific issues are: -TagaSanPedroAko (talk) 08:10, 16 November 2020 (UTC)
 * Syllabification: Module needs to support all possible syllable structures and be fixed to follow Tagalog hyphenation rules (further info at Appendix:Tagalog spellings). For example,, , and are incorrectly divided into su-klay, pa-kla, and ba-kla respectively when they should be suk-lay, pak-la, and bak-la.
 * Stress: Some test examples has stress on the wrong syllable, especially those with a vowel pair starting with I and U and with Y and W in between. For example, on the test cases,, , , (stressed on last syllable) are stressed at the first syllable instead on the second, and  is stressed at the first syllable instead on the last.
 * Initial glottal stop: Tagalog words starting with a vowel have an implied glottal stop, but the existing coding support for that in the module causes the stress to be moved to the first syllable (see also issue with stress).
 * I will look into this when I have a chance. Benwing2 (talk) 14:51, 16 November 2020 (UTC)


 * I've already fixed most of the mentioned issues and already implemented the changes to the existing module. By the way, you can still look for some problems with the code. TagaSanPedroAko (talk) 18:58, 16 November 2020 (UTC)

Major fix to support multiword terms
Working again on a new version that should handle punctuation well, as well as multi-word terms, but there's still lots of issues. Can this be fixed. TagaSanPedroAko (talk) 20:52, 16 July 2022 (UTC)
 * Unfortunately I don't know much about Tagalog pronunciation so I'm not sure how to fix it. Benwing2 (talk) 20:58, 16 July 2022 (UTC)


 * Would figure that out, but the code is so complex. TagaSanPedroAko (talk) 21:00, 16 July 2022 (UTC)
 * If you want me to look into it, you need to tell me exactly what you need done and how the results should look. Benwing2 (talk) 21:04, 16 July 2022 (UTC)


 * The proposed changes are mostly to better support multiword terms and punctuation, and not add stress to most single-syllable words. Current version in deployment only supports individual words:
 * Stress on most words need to be individually marked in multiword terms or phrases. The sandbox version should be able to apply stress to each individual word following normal stress rules (Tagalog stresses words on penultimate by default).
 * Additional support for single-syllable words so they don't receive stress.
 * An underscore has to be used to mark blank space. Proposed version should be able to add word boundaries around spaces or around punctuation marks in the middle.
 * Also of interest is automatic glottal stop placement at beginning of words beginning with vowels even on multiword terms or phrases. Just like with spaces where an underscore is needed, a 7 must be added to give desired result in existing version.
 * Show syllable division. Current template adds syllable dividers but drops its after stress is added.

TagaSanPedroAko (talk) 21:14, 16 July 2022 (UTC)

Support automatic syllabification, rhymes and audio
@Benwing2: Any idea how to fix this module so there's no need to type out things like syllabification and rhymes? It's based on your latest iteration of the Spanish pronunciation module, but I have done away with things like styles (this one will generate a pronunciation based on the standard, but will support 2+ pronunciations, such as of colloquial or certain regional accents), however I have a hard time finding other parts that should be removed or modified. TagaSanPedroAko (talk) 23:36, 13 March 2023 (UTC)


 * Also calling in @Ysrael214. See also User talk:Mar vin kaiser, a relevant discussion showing need in adding auto-syllabification, rhymes, homophones and audio in standard order. TagaSanPedroAko (talk) 23:42, 13 March 2023 (UTC)
 * @Benwing2 It has been months, and I have made some tweaks to remove style consideration as with the Spanish module, but there's too much code to begin with. Can you look into this and trim or tweak anything further, so this finally work? Thank you. TagaSanPedroAko (talk) 07:35, 23 June 2023 (UTC)
 * @Benwing2 It's almost a year, I got rid of the convoluted style functions but still the module doesn't work. can you fix that? TagaSanPedroAko (talk) 09:03, 19 January 2024 (UTC)