phpSyllable icon indicating copy to clipboard operation
phpSyllable copied to clipboard

Showing the stress on syllables

Open hshahdoost opened this issue 5 years ago • 3 comments

First I would like to thank you for this awesome library, Second do you think it is possible to also specify the stressed syllable? for many purposes having the stressed syllable is also important and can help a lot,

Thanks a lot

hshahdoost avatar May 20 '19 12:05 hshahdoost

Hi,

This is an interresting thought. I've been looking into this and there may be some possibilities to do this. Apparently, locating the stress of a lot easier than splitting syllables (at least in English).

That being said it is not a core feature for this library nor does it need to be (it could very easily be a separate library), so I have to some more research on this subject.

vanderlee avatar Jun 09 '19 17:06 vanderlee

Thanks a lot, That would be awesome. In many languages in order to generate the regular forms of words the stressed syllable is required. By having it, We can do a lot.

hshahdoost avatar Jun 11 '19 08:06 hshahdoost

I should note that I've only been able to find information for the English language. Not for any other languages (which would most likely be written in those languages so I wouldn't be able to read them anyway, apart from my own native tongue) nor any generic algorithms (which would be best).

vanderlee avatar Jun 11 '19 13:06 vanderlee