Skip to content

prosegrinder/python-syllables

Folders and files

NameName
Last commit message
Last commit date
Mar 2, 2025
Feb 18, 2023
Feb 18, 2023
Aug 24, 2021
Dec 17, 2022
Aug 24, 2021
Aug 24, 2021
Oct 22, 2023
Feb 14, 2018
Oct 15, 2023
Jan 5, 2024
Oct 22, 2023

Repository files navigation

Syllables: A fast syllable estimator for Python

Latest PyPI version Python Poetry CI

Syllables is a fast, simple syllable estimator for Python. It's intended for use in places where speed matters. For situations where accuracy matters, please consider the cmudict Python library instead.

Installation

syllables is available on PyPI. Simply install it with pip:

pip install syllables

Usage

Syllables provides a single function, estimate, which estimates the number of syllables in a single word.

>>> import syllables
>>> syllables.estimate('estimate')
4
>>> syllables.estimate('syllables')
3

Credits

Built on or modeled after the following open source projects: