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

Uploaded Python 3

File details

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

File metadata

  • Download URL: syllables-1.0.7.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure

File hashes

Hashes for syllables-1.0.7.tar.gz
Algorithm Hash digest
SHA256 0ed0928e95bae0d4dbf11435777ee935012e6a35bf1dae6dd54fc55ddd58cd6c
MD5 88b6707bb48bb05e7fa19ff65966f245
BLAKE2b-256 1751500a9035bf6ec9b6987752a23fd54cc75e67c261828f8fe7d53910f418c5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for syllables-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5840260d8b7a6416baa197980cbd3f88d4e3186c432610ae9e5aa0c05f2f510e
MD5 847b785a4f21982de5b1efa7a4d0b98c
BLAKE2b-256 86afd60318f7bf871051845802bc9b6d0c2f03ddb86db673df649fc7c0092a40

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