[tex-hyphen] extending `hyph-zh-latn-pinyin.tex'

Werner LEMBERG wl at gnu.org
Sat Nov 24 08:33:03 CET 2018

>> > But I would create a simple script in any programming language
>> > (lua, ruby, python, ...) and generate two pattern files out of
>> > it.
>> Not necessary – the stuff is so simple, and the number of syllables
>> is closed which means there won't be any changes except bug fixes.
>> A simple search and replace did the job in a few minutes; see
>> attached file.
> I still find it useful to have a level of abstraction, *in
> particular* when the rules are really simple.  This is what is done
> in Turkish for example (it's not a complete set of patterns): [...]

Well, yes.  If someone is going to do that work, I certainly won't
object :-)

BTW, here's the original program that creates the `word list' used to
derive the patterns:



More information about the tex-hyphen mailing list