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>=3.7
Functions
- get_syllables(word)
- Accepts a Cebuano word and returns the syllables of the word, and the sequence of Consonants and Vowels
- Default Output: List of syllables and Sequence of Consonants and Vowels
- Ex.
syllabledecoder.get_syllables("tinabangay") [['ti', 'na', 'ba', 'ngay'], ['CV', 'CV', 'CV', 'CVC']]
syllabledecoder.get_syllables("mag-tinabangay") [['mag', 'ti', 'na', 'ba', 'ngay'], ['CVC', 'CV', 'CV', 'CV', 'CVC']]
How to Use
from cebsyldec import syllabledecoder
syllabledecoder.get_syllables("mangaon")
Output: [['ma', 'nga', 'on'], ['CV', 'CV', 'VC']]
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.2.tar.gz
(14.5 kB
view hashes)
Built Distribution
cebsyldec-0.0.2-py3-none-any.whl
(15.1 kB
view hashes)
Close
Hashes for cebsyldec-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34491ecd9cbfe0af67c05a53f231501295051d0dac98956e27aaefc7b89ecc5e |
|
MD5 | 94ffe50a1b617c56169d7165b329c378 |
|
BLAKE2b-256 | 3e458140d7ba19554d84bf677c6177b0b0b8a975aec83bc9a282b374d21d41e6 |