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 details)
Built Distribution
cebsyldec-0.0.4-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file cebsyldec-0.0.4.tar.gz
.
File metadata
- Download URL: cebsyldec-0.0.4.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a645213166eaa2619c6d6a3f074c6db2f434df0d80177979ac0044e02f6b1e |
|
MD5 | 6257b8c363ba9e6ac68f5a52bad88dfa |
|
BLAKE2b-256 | 73b64cd2fc1647098d6b18696c7221727ee6938e9b2dcfb82d85592e7334c8ad |
File details
Details for the file cebsyldec-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: cebsyldec-0.0.4-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84125a91d275ca49817f98162afb4f56a2d0b4ba8c9a0d32e6007e70eff6b15a |
|
MD5 | 9deccef26c72527f35ffac9f1bac0c66 |
|
BLAKE2b-256 | cde66f692dc777761674d5b0ba95f002ef869e096e4f257cb5e077e8d62579da |