Syllabipy
universal syllabification algorithms
Install / Use
/learn @henchc/SyllabipyREADME
syllabipy
Collection of syllabification algorithms designed to be universal, aimed at low-resource languages without look-up techniques.
Note: SonoriPy has been incorporated into NLTK for Python; LegaliPy and SonoriPy have been incorporated into Talisman for JavaScript. This repo will not be updated, we recommend you use one of these two libraries.
installation
syllabipy can be installed with pip:
$ pip install syllabipy
LegaliPy
To get legal onsets for variable text:
>>> from syllabipy.legalipy import getOnsets
>>> getOnsets(text)
To syllabify a word:
>>> from syllabipy.legalipy import LegaliPy
>>> LegaliPy(word, getOnsets(text))
Command line usage to syllabify a text file:
$ python legalipy.py text.txt
SonoriPy
To syllabify a word:
>>> from syllabipy.sonoripy import SonoriPy
>>> SonoriPy("justification")
['jus', 'ti', 'fi', 'ca', 'tion']
Command line usage to syllabify a text file:
$ python sonoripy.py text.txt
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
