newLISP Fan Club

Forum => newLISP in the real world => Topic started by: reinier maliepaard on February 05, 2018, 09:42:57 AM

Title: Splitting words into syllables
Post by: reinier maliepaard on February 05, 2018, 09:42:57 AM
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
Title: Re: Splitting words into syllables
Post by: TedWalther on February 07, 2018, 07:04:08 PM
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?
Title: Re: Splitting words into syllables
Post by: reinier maliepaard on February 09, 2018, 12:13:00 AM
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