Decodes a Cebuano word into syllables
Project description
Cebuano-Syllable-Decoder
Cebuano Syllable Decoder
Installation
pip install cebsyldec
or- inside the folder run
python setup.py install
Requirements
python>=2.7
Functions
- get_syllables(word)
- Accepts a Cebuano word and returns the syllables of the word
- Default Output: List of syllables
- Ex. get_syllables("nangaon")
['na', 'nga', 'on']
- get_syllable_sequence(word)
- Accepts a Cebuano word and returns the syllable sequence of the word
- Default Output: Syllable sequence of the word
- Ex. get_syllable_sequence("nangaon")
'CV-CV-VC'
How to Use
from cebsyldec import syllabledecoder
syllabledecoder.get_syllables("nangaon")
Output:
['na', 'nga', 'on']
syllabledecoder.get_syllable_sequence("nangaon")
Output:
'CV + V + CVC'
References
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cebsyldec-0.0.1.tar.gz
(14.5 kB
view hashes)
Built Distribution
cebsyldec-0.0.1-py3-none-any.whl
(15.0 kB
view hashes)
Close
Hashes for cebsyldec-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4ffcd9c2e4ed56ee8e58112249933b1ed3ec3f267a7fd4ae802229c3551c0b |
|
MD5 | 60df326584a389a1100d2bc9d139ca93 |
|
BLAKE2b-256 | d22e45b84c1b279e8c8256393e1fb6dc141310d9ede82e86aaadd605f5196f5e |