Proxy of C SSyllabification struct
| SSyllabification.name((self) -> char) | |
| SSyllabification.description((self) -> char) | |
| SSyllabification.language((self) -> char) | |
| SSyllabification.lang_code((self) -> char) | |
| SSyllabification.version() | Return the Speect Engine library version in a tuple, (major version number, minor |
| SSyllabification.syllabify(word, phone_list) | syllabify(word, phone_list): |
| SSyllabification.features | Get the features that are defined for the syllabification. |
name(self) -> char
description(self) -> char
language(self) -> char
lang_code(self) -> char
Return the Speect Engine library version in a tuple, (major version number, minor version number, patch name, release name).
| Return type: | tuple |
|---|
syllabify(word, phone_list):
Syllabify the given phone list of the given word item. The word must be an SItem type so that the syllabification algorithm has access to any voice features it requires.
| Parameters: |
|
|---|---|
| Returns: | A List of lists where the primary list are syllables and the secondary lists are the phones in the syllables. For example, for the word mathematics, the phonelist is [m , ae , th, ax, m, ae, t, ih, k, s]
and the returned list is: [[m, ae], [th, ax], [m, ae], [t, ih, k, s]]
|
| Return type: | list |
Get the features that are defined for the syllabification.
| Returns: | A map of the syllabification features. |
|---|---|
| Return type: | SMap |