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
- M. V. R. Bunye and E. P. Yap, Cebuano Grammar Notes. University of Hawai‘i Press, 1971. [Online]. Available: https://scholarspace.manoa.hawaii.edu/server/api/core/bitstreams/75449514-a5eb-487a-aa6b-7778680179e8/content
- Computational Linguistics @ Illinois. Syllable Script in Python, 2017. Available: https://www.youtube.com/watch?v=ZULS0evRLHg
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.3.tar.gz
(14.7 kB
view hashes)
Built Distribution
cebsyldec-0.0.3-py3-none-any.whl
(15.3 kB
view hashes)
Close
Hashes for cebsyldec-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bb0289186d54806f9492ac7bcac849ce9450064c7bd0af3a53dfd8d5783ba9 |
|
MD5 | c0e011362ac4fa42baa16a1283588b09 |
|
BLAKE2b-256 | ef95afa955c9ff1c654ff94ac5181c3e78b186e36764a9a441238d2a9d86a297 |