words / syllable

Count syllables in an English word
https://words.github.io/syllable/
MIT License
227 stars 23 forks source link

Feature request: syllablize() #45

Closed VienDinhCom closed 4 years ago

VienDinhCom commented 4 years ago

Hi, Words team,

I appreciate your work. The syllable module is super good.

However, I wish to syllable have this function for creating readability texts.

syllablize('beautiful') // output: ['beau', 'ti', 'ful']

I think it's not too hard to create this function with your algorithm.

Thank you so much!

Best regards, Vien Dinh.

wooorm commented 4 years ago

Thanks!

I think it's not too hard to create this function with your algorithm.

I kinda think it would be really hard. For one: boundaries don’t always exist. It would be a completely different algorithm, in which case having it as a different project might make more sense to me!