A Python package for estimating the number of syllables in a word.
Syllables: A fast syllable estimator for Python
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.
syllables is available on PyPI. Simply install it with
pip install syllables
You can also install it from source:
$ git clone https://github.com/prosegrinder/python-syllables.git Cloning into 'python-syllables'... ... $ cd python-syllables $ python setup.py install ...
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
Built on or modeled after the following open source projects:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for syllables-1.0.3-py2.py3-none-any.whl