Clear Filters
Clear Filters

How to split syllables of a word into matlab?

1 view (last 30 days)
D.M
D.M on 2 Mar 2017
Commented: Rik on 2 Mar 2017
plz help
  7 Comments
Stephen23
Stephen23 on 2 Mar 2017
Edited: Stephen23 on 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 on 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.

Sign in to comment.

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!