{ "info": { "author": "Michael Holtzscher", "author_email": "mholtz@protonmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "spacy_readability\n ==================\n \n spaCy v2.0 pipeline component for calculating readability scores of of\n text. Provides scores for Flesh-Kincaid grade level, Flesh-Kincaid\n reading ease, Dale-Chall, and SMOG.\n \n Installation\n ------------\n \n ``` {.sourceCode .python}\n pip install spacy-readability\n ```\n \n Usage\n -----\n \n ``` {.sourceCode .python}\n import spacy\n from spacy_readability import Readability\n \n nlp = spacy.load('en')\n read = Readability(nlp)\n nlp.add_pipe(read, last=True)\n \n doc = nlp(\"I am some really difficult text to read because I use obnoxiously large words.\")\n \n print(doc._.flesch_kincaid_grade_level)\n print(doc._.flesch_kincaid_reading_ease)\n print(doc._.dale_chall)\n print(doc._.smog)\n print(doc._.coleman_liau_index)\n print(doc._.automated_readability_index)\n print(doc._.forcast)\n ```\n \n ### Readability Scores\n \n Readability is the ease with which a reader can understand a written\n text. In natural language, the readability of text depends on its\n content (the complexity of its vocabulary and syntax) and its\n presentation (such as typographic aspects like font size, line height,\n and line length).\n \n #### Popular Metrics\n \n - The Flesch formulas\n : - Flesch-Kincaid Readability Score\n - Flesch-Kincaid Reading Ease\n \n - Dale-Chall formula\n - SMOG\n - Coleman-Liau Index\n - Automated Readability Index\n - FORCAST\n \n [For more in depth reading.](https://en.wikipedia.org/wiki/Readability)\n\nContributing\n============\n\n#### Setup\n1. Install [Poetry](https://poetry.eustace.io/)\n1. Run `make setup` to prepare workspace\n\n#### Testing\n1. Run `make test` to run all tests\n\n#### Linting\n1. Run `make format` to run black code formatter\n1. Run `make lint` to run pylint\n1. Run `make mypy` to run mypy", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "Michael Holtzscher", "maintainer_email": "mholtz@protonmail.com", "name": "spacy-readability", "package_url": "https://pypi.org/project/spacy-readability/", "platform": "", "project_url": "https://pypi.org/project/spacy-readability/", "project_urls": null, "release_url": "https://pypi.org/project/spacy-readability/1.4.1/", "requires_dist": [ "syllapy (>=0,<1)", "spacy (>=2.0,<3.0)" ], "requires_python": ">=3.6,<4.0", "summary": "spaCy pipeline component for adding text readability meta data to Doc objects.", "version": "1.4.1" }, "last_serial": 4756830, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fd874fa800b1bb91e78bbe64c2dabc0a", "sha256": "df548fcaf03008fe9135b3e605eddbbed40fb9ab3f3c84cde4a67f61a6cb6086" }, "downloads": -1, "filename": "spacy_readability-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fd874fa800b1bb91e78bbe64c2dabc0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13583, "upload_time": "2018-04-08T19:51:11", "url": "https://files.pythonhosted.org/packages/6c/3d/0345d0facc435c4f589021f7ecb8e8930657de82ee365fd7c4c274ef54c2/spacy_readability-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "135f618a95d5d8dc1a54e5dacd42a46a", "sha256": "8bd2eb842ebe85725ad7fd40f02cb3c7a0055245d972f1914fc17a5f7a2cbda6" }, "downloads": -1, "filename": "spacy_readability-1.0.0.tar.gz", "has_sig": false, "md5_digest": "135f618a95d5d8dc1a54e5dacd42a46a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12461, "upload_time": "2018-04-08T19:51:12", "url": "https://files.pythonhosted.org/packages/91/3c/424a70459e1a75337b1f422cea0c11fddc721e0fb440ea33dfe61ec719d6/spacy_readability-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "6225aeb15bd9d861f7c292b1be97b957", "sha256": "82c9b5d26f0165147c79a5ba940d4d39ed9e8be113be3a5f0ae3db53d07278b7" }, "downloads": -1, "filename": "spacy_readability-1.1.0.tar.gz", "has_sig": false, "md5_digest": "6225aeb15bd9d861f7c292b1be97b957", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12589, "upload_time": "2018-04-09T00:32:31", "url": "https://files.pythonhosted.org/packages/89/c3/f2cff5b0d7c7b92ac66a9e39c2dc55ad667ad620b246b78e1f9de3952267/spacy_readability-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "b5b260915a9250a3c08d8d98b3724433", "sha256": "f02d7734acc5948503999bb70b4b161bcc239582ad2f6ae5c22dd3948bbf5839" }, "downloads": -1, "filename": "spacy_readability-1.2.0.tar.gz", "has_sig": false, "md5_digest": "b5b260915a9250a3c08d8d98b3724433", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24089, "upload_time": "2018-05-11T14:39:00", "url": "https://files.pythonhosted.org/packages/ff/9c/79860b84227e1faf1554436470f0e8b21f51add6ea5345a82e4446a89c28/spacy_readability-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "2fe0a3cbcf47bdd02f32e93a7bfa60e6", "sha256": "2e1190ed33200f9f1818ae6045e9f65307032e928234e4de20ea7af7ec927d70" }, "downloads": -1, "filename": "spacy_readability-1.3.0.tar.gz", "has_sig": false, "md5_digest": "2fe0a3cbcf47bdd02f32e93a7bfa60e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24146, "upload_time": "2018-05-19T02:33:35", "url": "https://files.pythonhosted.org/packages/6f/69/c9c9b441a5215b821ca80e1c3d4bac14908fce62d3a6730aa01eed6f91c0/spacy_readability-1.3.0.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "4b18836057b93e5a3079f54c450f60da", "sha256": "93d55712a317c285a21744955cec1de994e27cf4eebb1c0906f606bd2a5cf556" }, "downloads": -1, "filename": "spacy_readability-1.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4b18836057b93e5a3079f54c450f60da", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 49938, "upload_time": "2019-01-29T21:39:46", "url": "https://files.pythonhosted.org/packages/68/9e/e8d9cdf0d54fa5fa0c6463bc6d0385c37deb5dc65a4cfe2c612a02a06869/spacy_readability-1.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "791f1e69e0667709aa0190e5d0e9af0d", "sha256": "6fe75a60ef2497abcbd1e58fd6e8ab7bbd4a02cff25aef88609472f647c42309" }, "downloads": -1, "filename": "spacy_readability-1.4.1.tar.gz", "has_sig": false, "md5_digest": "791f1e69e0667709aa0190e5d0e9af0d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 14402, "upload_time": "2019-01-29T21:39:48", "url": "https://files.pythonhosted.org/packages/62/f7/62d0094602958091012b5f85f94f1ffe0d2a7bcbb0d91dd1f9ceb4d361c0/spacy_readability-1.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b18836057b93e5a3079f54c450f60da", "sha256": "93d55712a317c285a21744955cec1de994e27cf4eebb1c0906f606bd2a5cf556" }, "downloads": -1, "filename": "spacy_readability-1.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4b18836057b93e5a3079f54c450f60da", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 49938, "upload_time": "2019-01-29T21:39:46", "url": "https://files.pythonhosted.org/packages/68/9e/e8d9cdf0d54fa5fa0c6463bc6d0385c37deb5dc65a4cfe2c612a02a06869/spacy_readability-1.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "791f1e69e0667709aa0190e5d0e9af0d", "sha256": "6fe75a60ef2497abcbd1e58fd6e8ab7bbd4a02cff25aef88609472f647c42309" }, "downloads": -1, "filename": "spacy_readability-1.4.1.tar.gz", "has_sig": false, "md5_digest": "791f1e69e0667709aa0190e5d0e9af0d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 14402, "upload_time": "2019-01-29T21:39:48", "url": "https://files.pythonhosted.org/packages/62/f7/62d0094602958091012b5f85f94f1ffe0d2a7bcbb0d91dd1f9ceb4d361c0/spacy_readability-1.4.1.tar.gz" } ] }