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

Uploaded Python 3

File details

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

File metadata

  • Download URL: syllables-1.0.6.tar.gz
  • Upload date:
  • Size: 15.4 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.6.tar.gz
Algorithm Hash digest
SHA256 deaf706aeabd945042afdc3f19b069c38582565e491a6f388c757cc355bcbcea
MD5 d6dbba52b619f451e2492da1c77e30e9
BLAKE2b-256 3f50d43574b7ef0f42c2bf86a3575544aca4cb859ad536e5c950c48bbc57138e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syllables-1.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 59ce3d583d1c17806eca5cd96583fdb15e3601402e482c9eeb2dc31a15d61b8f
MD5 5531dcc1f4600445c0293f36b1152730
BLAKE2b-256 845f0d6b84c29f6f4dd58ec295689efc445a7472de5ed35c77c613d66620d9f8

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