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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cebsyldec_package_eemberda-0.0.1.tar.gz
.
File metadata
- Download URL: cebsyldec_package_eemberda-0.0.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5657dc920c69959aa91b8081052d60d1569dadfa728abe468a310e3cf8d9a71 |
|
MD5 | 0fa113683586edcccac5dc578aa8684e |
|
BLAKE2b-256 | aef24eb17085fb44bbacf7eaebf6b312ee08236d98bb62794d1da86a197d91fb |
File details
Details for the file cebsyldec_package_eemberda-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: cebsyldec_package_eemberda-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.2 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 | ace45b4a659417a7f43f5e581e9b3c60c4cf13c75db6577cac4d9ab695cbe0a8 |
|
MD5 | 745bd9b0d787db374d0e1d3b7958ef9e |
|
BLAKE2b-256 | 0e13f68debc4e02132b94457e858d75cce13c15f1a677350729fde7204eec757 |