Splitting words into syllables

Q&A's, tips, howto's

Splitting words into syllables

Postby reinier maliepaard » Mon Feb 05, 2018 5:42 pm

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
reinier maliepaard
 
Posts: 6
Joined: Fri Jul 05, 2013 5:34 pm

Re: Splitting words into syllables

Postby TedWalther » Thu Feb 08, 2018 3:04 am

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?
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence. Nine months later, they left with a baby named newLISP. The women of the ivory towers wept and wailed. "Abomination!" they cried.
TedWalther
 
Posts: 602
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC

Re: Splitting words into syllables

Postby reinier maliepaard » Fri Feb 09, 2018 8:13 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
reinier maliepaard
 
Posts: 6
Joined: Fri Jul 05, 2013 5:34 pm


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 1 guest

cron