{ "info": { "author": "Peng Yong", "author_email": "ppengkkang16@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# phrase extractor\n\nA shallow phrase extractor based on nltk \n\n\n## Installation\n\n```\npip3 install phraseextractor\n```\n\n### Example\n\n```python\n\nfrom extractor import phrases_extractor\n\ntext = ('GOP Sen. Rand Paul was assaulted in his home in Bowling Green, Kentucky, on Friday, '\n 'according to Kentucky State Police. State troopers responded to a call to the senator\\'s '\n 'residence at 3:21 p.m. Friday. Police arrested a man named Rene Albert Boucher, who they '\n 'allege \"intentionally assaulted\" Paul, causing him \"minor injury\". Boucher, 59, of Bowling '\n 'Green was charged with one count of fourth-degree assault. As of Saturday afternoon, he '\n 'was being held in the Warren County Regional Jail on a $5,000 bond.')\n\ngrammar = r\"\"\"\n NP: {??}\n \"\"\"\n\nlabel = 'NP'\n\nterms = phrases_extractor.get_phrases(text,grammar,label)\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/ppengkkang/phrase-extractor", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "phraseextractor", "package_url": "https://pypi.org/project/phraseextractor/", "platform": "", "project_url": "https://pypi.org/project/phraseextractor/", "project_urls": { "Homepage": "https://github.com/ppengkkang/phrase-extractor" }, "release_url": "https://pypi.org/project/phraseextractor/0.5/", "requires_dist": null, "requires_python": "", "summary": "A shallow phrase extractor", "version": "0.5" }, "last_serial": 4350628, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "a98ca1ebb95d37640a9d0c08774f6542", "sha256": "6d800e5102315e5f63dea73b192fc44b5e097adabb3eb4e3864958b1485274dd" }, "downloads": -1, "filename": "phraseextractor-0.3-py3.5.egg", "has_sig": false, "md5_digest": "a98ca1ebb95d37640a9d0c08774f6542", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 3907, "upload_time": "2018-10-08T03:30:26", "url": "https://files.pythonhosted.org/packages/16/46/c97062d649e6f31056bc165f3589a931821bd965db79f3f075d359bff66d/phraseextractor-0.3-py3.5.egg" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "d2a38e1831308472dcb189c7e17fb98d", "sha256": "bc89e95f8beafe8b1dd9ea22f9be49f4f413ad618057ceb32b69b6b83578efd3" }, "downloads": -1, "filename": "phraseextractor-0.5.tar.gz", "has_sig": false, "md5_digest": "d2a38e1831308472dcb189c7e17fb98d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2148, "upload_time": "2018-10-08T03:59:26", "url": "https://files.pythonhosted.org/packages/e6/a0/0afd2a155a120cc42488e48cb34c35e242ffea4988be6933b31bf1cecccb/phraseextractor-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2a38e1831308472dcb189c7e17fb98d", "sha256": "bc89e95f8beafe8b1dd9ea22f9be49f4f413ad618057ceb32b69b6b83578efd3" }, "downloads": -1, "filename": "phraseextractor-0.5.tar.gz", "has_sig": false, "md5_digest": "d2a38e1831308472dcb189c7e17fb98d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2148, "upload_time": "2018-10-08T03:59:26", "url": "https://files.pythonhosted.org/packages/e6/a0/0afd2a155a120cc42488e48cb34c35e242ffea4988be6933b31bf1cecccb/phraseextractor-0.5.tar.gz" } ] }