Skip to main content

A Python package for estimating the number of syllables in a word.

Project description

Syllables: A fast syllable estimator for Python

Latest PyPI version Python 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:

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

syllables-1.0.6.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

syllables-1.0.6-py3-none-any.whl (15.2 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