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

Uploaded Source

Built Distribution

syllables-1.1.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syllables-1.1.1.tar.gz
Algorithm Hash digest
SHA256 1b6110a75dd2e8e19d2e783415f0c3f077736d4aff2898b9c06b50c9390fbd7c
MD5 c4bfa05d54549e06d68b404060291fa2
BLAKE2b-256 04ca6eab4662f8612b2092b205e210081e94dbfa2fc6e902733a91ccd2fdcfec

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for syllables-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 590dd3628c74820142bbe85a0780cc8d68d4281cdfcfdfea669952778e8c86d5
MD5 bef9e2d7e7b582cb8571fceecdc83da1
BLAKE2b-256 ea28f5172f8c508a805b593495f5aaca7cf0ae359266537ebc78570c6dc44963

See more details on using hashes here.

Supported by

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