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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syllables-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ca31f8b16f3b5bd9d9c5c38f190b41ddab4859f5258740de85790f5e43f7dc7e
MD5 f715f26f5f5fd21bd9725961b46113c7
BLAKE2b-256 7f56785710a80747ab4ddbf8a757ff034c60636d748fd656c3abe761ed1069d6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for syllables-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 330ada4f023686f40a7908f0a9473b86d5e7331f330b373ca9cc1f32c60f4856
MD5 5ea7200b628427845011b27427894f23
BLAKE2b-256 5a6c6b54274caf58bb8e74b68a052af6dd31bf43bd680c5a335d11427eb8b5c6

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