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

Uploaded Source

Built Distribution

syllables-1.0.9-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syllables-1.0.9.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1014-azure

File hashes

Hashes for syllables-1.0.9.tar.gz
Algorithm Hash digest
SHA256 e73be37d7420bd94cae1ec5511dc6392e1305fe0837a89def9bcabad27f91f6f
MD5 32b83b78bc385fa41b2b57f92bed878a
BLAKE2b-256 e5f722a5aa09c263153671caa3acff6dd824816e596c8baa211ec91cc21b04b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syllables-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1014-azure

File hashes

Hashes for syllables-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 341d1e5dd396589d385a8c462ea483081d344fa5652e02d29d1047a342c88d9b
MD5 a8c583a86dbfbe5087834ad8e83c7777
BLAKE2b-256 27c596e282163836a83d9f0cfdc5792e5bbb8baab18ee2e2dca4a85875588f1b

See more details on using hashes here.

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