{ "info": { "author": "Vikram Oberoi", "author_email": "voberoi@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# pysyllables\n\nAn in-memory syllable count dictionary for North American English derived from \nthe CMU Pronouncing Dictionary.\n\n```\n>>> from pysyllables import get_syllable_count\n>>> get_syllable_count(\"fabulous\")\n3\n>>> get_syllable_count(\"word-that-doesn't-exist\")\nNone\n```\n\n## Where do these syllable counts come from?\n\nFrom the [CMU Pronouncing Dictionary](http://www.speech.cs.cmu.edu/cgi-bin/cmudict),\nan open-source machine-readable pronunciation dictionary for North American English\nthat contains over 134,000 words and their pronunciations.\n\nBy counting the number of lexical stress markers in each word's pronunciation, we can\ncompute the # of syllables in each word. This library ships with a file that maps each\nword to a syllable count in [pysyllables/syllable-counts.txt](pysyllables/syllable-counts.txt)\n\n## How does one generate [pysyllables/syllable-counts.txt](pysyllables/syllable-counts.txt)?\n\n[scripts/download_syllable_counts.sh](scripts/download_syllable_counts.sh) downloads\nthe CMU Pronouncing Dictionary, computes each word's syllable count, and emits\n[pysyllables/syllable-counts.txt](pysyllables/syllable-counts.txt).\n\nShould there be a new version of the CMU Pronouncing Dictionary, update the source in\n[scripts/download_syllable_counts.sh](scripts/download_syllable_counts.sh).\n\n## Contributing\n\nQuestions & contributions welcome -- please open an issue or, even better, a PR!\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/voberoi/pysyllables", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pysyllables", "package_url": "https://pypi.org/project/pysyllables/", "platform": "", "project_url": "https://pypi.org/project/pysyllables/", "project_urls": { "Homepage": "https://github.com/voberoi/pysyllables" }, "release_url": "https://pypi.org/project/pysyllables/1.0.3/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "An in-memory syllable count dictionary for North American English derived from the CMU Pronouncing Dictionary.", "version": "1.0.3" }, "last_serial": 5270028, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b72614859183c0e103dcc9ef001b9493", "sha256": "83291a3dc90dc105e0309bc5a1c338b68a572242317a9bb4ad1c9b6e26fb31b5" }, "downloads": -1, "filename": "pysyllables-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b72614859183c0e103dcc9ef001b9493", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 3308, "upload_time": "2019-05-15T01:07:37", "url": "https://files.pythonhosted.org/packages/56/bb/df5b3691ba5da0bafcec3ca18840c964a2baa9036966c8a1edeead352b67/pysyllables-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c9411241d34bc6d354aa716d7f0e1324", "sha256": "6668a1ccfc80b4a4b1d4315671c2362cfa798a7e571fd4a4f1592b567752bd75" }, "downloads": -1, "filename": "pysyllables-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c9411241d34bc6d354aa716d7f0e1324", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 6289, "upload_time": "2019-05-15T01:07:39", "url": "https://files.pythonhosted.org/packages/54/45/f1dfcfbf55248ea010b8a8b519ac90571be35d2b86e26862b54037ea4487/pysyllables-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "304f3ba2c3d62365050d1c4e75e0b19f", "sha256": "97c9c5c31e767746930403bb059df7fe4563fda7517b61aeb40c9817a1fbdf34" }, "downloads": -1, "filename": "pysyllables-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "304f3ba2c3d62365050d1c4e75e0b19f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 3304, "upload_time": "2019-05-15T01:12:23", "url": "https://files.pythonhosted.org/packages/1b/68/46edc014f15cdc1e92c0fa2aed1c52a6f37896cb6afddbb14bfe6e85c694/pysyllables-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7fed342ac2f9dc8ec23c45652e8a8ff7", "sha256": "03011be0b593b5ebcc2746ae85ef78b8f042267e6c37bd8495d415867f6176ee" }, "downloads": -1, "filename": "pysyllables-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7fed342ac2f9dc8ec23c45652e8a8ff7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 6288, "upload_time": "2019-05-15T01:12:25", "url": "https://files.pythonhosted.org/packages/96/ab/8ce8b75b040941896a3352ece56a2d2612bee57d500d2c156fddd735a2c0/pysyllables-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f37c7ed255ab44d49d308c02c8b70189", "sha256": "6c6436deb21467fafdb5ec5017d814cc63fc28833c4514b8c9db21ad516b7c08" }, "downloads": -1, "filename": "pysyllables-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f37c7ed255ab44d49d308c02c8b70189", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 3308, "upload_time": "2019-05-15T01:21:30", "url": "https://files.pythonhosted.org/packages/af/59/e8f79b0701b34e26ef1cc418495c2b36ee32fea4168ec800aa7e0386b4b0/pysyllables-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "faf2a244e74e8ceaa90fda8054d39104", "sha256": "5706c175c6f729781fee53abd9e4cda4cde03c09cfb48d108bfab42b1fe7086e" }, "downloads": -1, "filename": "pysyllables-1.0.2.tar.gz", "has_sig": false, "md5_digest": "faf2a244e74e8ceaa90fda8054d39104", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 6295, "upload_time": "2019-05-15T01:21:31", "url": "https://files.pythonhosted.org/packages/44/00/5c45d5215a11af572b9d546a75dca6a3201c93bd49b5658245a6d3443238/pysyllables-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "138b042e6eeb31d663871ce66a1703a6", "sha256": "d6dfcc135086e1f041821cdf9a92864514a4547364d334f40b6223b370b30d29" }, "downloads": -1, "filename": "pysyllables-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "138b042e6eeb31d663871ce66a1703a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 426876, "upload_time": "2019-05-15T01:31:28", "url": "https://files.pythonhosted.org/packages/58/e9/69f90cdc5880c144e94c54593d0f3b4317446a2c6fd702f59908d1b35c3b/pysyllables-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d39dd51b4b46f78f0c6b5296d69b15fb", "sha256": "ed00747b783d471a5cdf0052e5f2ed36e631df098bd4a876dc1bf62436f9b85d" }, "downloads": -1, "filename": "pysyllables-1.0.3.tar.gz", "has_sig": false, "md5_digest": "d39dd51b4b46f78f0c6b5296d69b15fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 431799, "upload_time": "2019-05-15T01:31:30", "url": "https://files.pythonhosted.org/packages/bc/bc/c3d16807c4160a59a2357be3e65e79fdbd3c77daec70e8c2dc93614e1d72/pysyllables-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "138b042e6eeb31d663871ce66a1703a6", "sha256": "d6dfcc135086e1f041821cdf9a92864514a4547364d334f40b6223b370b30d29" }, "downloads": -1, "filename": "pysyllables-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "138b042e6eeb31d663871ce66a1703a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 426876, "upload_time": "2019-05-15T01:31:28", "url": "https://files.pythonhosted.org/packages/58/e9/69f90cdc5880c144e94c54593d0f3b4317446a2c6fd702f59908d1b35c3b/pysyllables-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d39dd51b4b46f78f0c6b5296d69b15fb", "sha256": "ed00747b783d471a5cdf0052e5f2ed36e631df098bd4a876dc1bf62436f9b85d" }, "downloads": -1, "filename": "pysyllables-1.0.3.tar.gz", "has_sig": false, "md5_digest": "d39dd51b4b46f78f0c6b5296d69b15fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 431799, "upload_time": "2019-05-15T01:31:30", "url": "https://files.pythonhosted.org/packages/bc/bc/c3d16807c4160a59a2357be3e65e79fdbd3c77daec70e8c2dc93614e1d72/pysyllables-1.0.3.tar.gz" } ] }