Convert words in syllables with PHP.
3.1K
A PHP library to split Spanish words in syllables through the algorithm.
In the TODOā
To deploy you need to keep almost the same structure or change the set_include_path on website/www/index.php.
Anyway it should run normally if you deploy the app from the githubā with the consideration that you should change apache.htaccess or nginx.htaccess to .htaccess.
The support for hypen words must be added externally and process separately, it is not added. They should be considered two words.
The prefixes can make issues by the moment.
In spite of the algorithm supports it, it is not implemented the support for "tl" or other configurations that are not from Spain. It is only works with "Castillian" (spanish from Spain with the known mistakes).
You must use utf8_decode before pass the word to the object, this is because the library convert the word to utf8 and recodification to utf8 must give problems.
Doesn't keep the "H" with it in the middle in some diphtongs, like "prohibición" and it should.
https://es.wikipedia.org/wiki/S%C3%ADlabaā https://www.xn--slabas-3va.com/regalas/ā
http://www.aucel.com/pln/transbase.htmlā - (See the source code in perl)
http://www.texnia.com/spanish_hyphen.htmlā - Divisions in syllables for multiple syllables with latex
Content type
Image
Digest
Size
150.5 MB
Last updated
over 8 years ago
docker pull gtrabanco/php-syllabler