Skip to content

Accepts a Cebuano word and breaks it down into syllables

Notifications You must be signed in to change notification settings

eemberda/Cebuano-Syllable-Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cebuano-Syllable-Decoder

Description

  • Cebuano Syllable Decoder / Cebuano Syllabification / Bisaya Syllabication
  • Accepts a Cebuano word and breaks it down into syllables

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

Releases

No releases published

Packages

No packages published

Languages