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 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:

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.1.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

syllables-1.1.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file syllables-1.1.2.tar.gz.

File metadata

  • Download URL: syllables-1.1.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for syllables-1.1.2.tar.gz
Algorithm Hash digest
SHA256 754e5e8b7c4460ba69ab9161dcbca9db8f66d30e00cfb7ee0146455876296cd5
MD5 47cdafd26b59c4efa1e497fb0b7d4a37
BLAKE2b-256 5405d9d72619ba0016f7b40e031537458c7d11353bdbc2ab6f84fdc9a1081306

See more details on using hashes here.

File details

Details for the file syllables-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: syllables-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for syllables-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f763d65c76cad00b1abdc9c9bed85546f9871a95d7d28f58dc651c3a130b092
MD5 e56bf2d1089b19734d9f7dee00ca0cb7
BLAKE2b-256 c2c52c11cb8b3811973c891ec3fdce55c4d59a5e957d5b0a690eaf5f31c26b68

See more details on using hashes here.

Supported by

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