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.5.tar.gz (15.3 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.0.5-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syllables-1.0.5.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for syllables-1.0.5.tar.gz
Algorithm Hash digest
SHA256 bb0456a76ec648fa54973032bce6cb06f987843a300ae9729eb9f3267123219f
MD5 bb44d926d7e8d65383e1a16b4fe2f8e9
BLAKE2b-256 2d3b43bff300910f4d1aab50c7a76a396d8aafac7e97cbc9621bcf70adf58c81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syllables-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for syllables-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fbcac22ae8c4f1120dd8b8cef25bb732ecd02bc3e7ebf412e98b579f337bbd02
MD5 2c2e5b4566e26c508e36a1423e6ac5f8
BLAKE2b-256 4540ceead0754c4b1f56b06be24902a71cd0c8a59ec4cec384fbcc182ffd3b1a

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