Page 1 of 1

Splitting words into syllables

Posted: Mon Feb 05, 2018 5:42 pm
by reinier maliepaard
Hello,

In Ruby I wrote one in Ruby (using a Ruby library, supporting 29 languages: https://github.com/halostatue/text-hyphen) to split words into syllables.

For newlisp I am not aware of such a solution. Is there anyone who knows a solution?

Thanks.

Reinier

Re: Splitting words into syllables

Posted: Thu Feb 08, 2018 3:04 am
by TedWalther
Hi, I don't know of anything like that for newlisp, but should be easy to implement. Do you have a link to a good description of the algorithm? SInce the source of TeX is available, and the documentation comes with it, it should be in there somewhere. Can you track it down?

Re: Splitting words into syllables

Posted: Fri Feb 09, 2018 8:13 am
by reinier maliepaard
Hi,

Thanks. Meanwhile I made a PHP solution:

https://www.mcmusiceditor.com/hyphenate/

based on a well maintained source: https://github.com/vanderlee/phpSyllable. In the folder Languages you'll find the tex files, the software uses.

For my project MC Musiceditor (that uses newlisp.dll) the PHP solution will do for the moment. Despite of this online solution, I'll really appreciate your help and suggestions how I can make a newLisp solution.

Best regards,
Reinier