Skip to main content

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.4.tar.gz (14.8 kB view hashes)

Uploaded Source

Built Distribution

cebsyldec-0.0.4-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page