Azzera filtri
Azzera filtri

How to split syllables of a word into matlab?

1 visualizzazione (ultimi 30 giorni)
D.M
D.M il 2 Mar 2017
Commentato: Rik il 2 Mar 2017
plz help
  7 Commenti
Stephen23
Stephen23 il 2 Mar 2017
Modificato: Stephen23 il 2 Mar 2017
Using Ned Batchelder's python implementation of Frank Liang's hyphenation algorithm:
hyp.hyphenate_word("unionized")
Out[3]: ['union', 'ized']
hyp.hyphenate_word("ghoti")
Out[4]: ['ghoti']
Close, but no cigar.
Rik
Rik il 2 Mar 2017
I wrote very rough code to do this in Dutch, so I know from experience how tough it is to find a suitable way to find syllables. I had to manually check all words, so for most applications, that is not the way to go.
You could try finding a dictionary that has split words.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by