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.5.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.5-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syllables-1.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 aadc7fe3d9853cc40c225af399613e23e51f6c38de7907615391c0de426bc54f
MD5 d5bf1a1fd93f69f603e3a6eff54c19f5
BLAKE2b-256 6b0d7fd9dd192625d83483ce7ce2a9ab7663346963ce470b28ae7230e4bb524d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syllables-1.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 16cc6650de989d99428c64e2ea34754b481d7a01e163d541aed0c3872c613cf7
MD5 a7598bc3d4f29964c2e86fa17f2f4a4c
BLAKE2b-256 6fc4b008d3c803d6494fda384b3e239bccc09850bd4f36c0b37d6de32e90f12f

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