Split galician language words into syllables.
const syl = require('gl-syllabler');
syl('palabra');
The result should be:
{ syllables: [ 'pa', 'la', 'bra' ],
totalSyllables: 3,
positions: [ 0, 2, 4 ],
tonicSyllable: 1,
stress: '0/1/0' }
Port and adaptation by Berto Yáñez.
This is a port to Javascript of "Separador de Sílabas del Español" adapted to galician.
Hernández-Figueroa, Z; Rodríguez-Rodríguez, G; Carreras-Riudavets, F (2009). Separador de sílabas del español - Silabeador TIP. Available at http://tip.dis.ulpgc.es
See LICENSE for more details.