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.4.tar.gz
(14.8 kB
view hashes)
Built Distribution
cebsyldec-0.0.4-py3-none-any.whl
(15.3 kB
view hashes)
Close
Hashes for cebsyldec-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84125a91d275ca49817f98162afb4f56a2d0b4ba8c9a0d32e6007e70eff6b15a |
|
MD5 | 9deccef26c72527f35ffac9f1bac0c66 |
|
BLAKE2b-256 | cde66f692dc777761674d5b0ba95f002ef869e096e4f257cb5e077e8d62579da |