How to split syllables of a word into matlab?

1 次查看(过去 30 天)
plz help
  7 个评论
Stephen23
Stephen23 2017-3-2
编辑:Stephen23 2017-3-2
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 2017-3-2
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by