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

Uploaded Python 3

File details

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

File metadata

  • Download URL: syllables-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8be5cec386f28b7b7f0d98197a326332a811db4401001d2dd314c596e06f8173
MD5 d516d6b2aaec08d868335095bed05c6c
BLAKE2b-256 378839d20b72668548885ca3907802cc4ee3f347478ed686334967a8e5d08b0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syllables-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 559f1b5dad671a4d7f49064c21a2af78cacadb5e6738ece75bb9a9116a52df04
MD5 44ffdc33cb5221d00081132b0bae09a1
BLAKE2b-256 473d512ba9974b8213033a569d1f71c187f6c50d2dcbe120dfbe25791501f312

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