{ "info": { "author": "Jianlin", "author_email": "jianlinshi.cn@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Linguistic" ], "description": "PyRuSH\n\nPyRuSH is the python implementation of RuSH, which is orginally developed using Java. RuSH is an efficient, reliable, and easy adaptable rule-based sentence segmentation solution. It is specifically designed to handle the telegraphic written text in clinical note. It leverages a nested hash table to execute simultaneous rule processing, which reduces the impact of the rule-base growth on execution time and eliminates the effect of rule order on accuracy.\n\nIf you wish to cite RuSH in a publication, please use:\n\nJianlin Shi ; Danielle Mowery ; Kristina M. Doing-Harris ; John F. Hurdle.RuSH: a Rule-based Segmentation Tool Using Hashing for Extremely Accurate Sentence Segmentation of Clinical Text. AMIA Annu Symp Proc. 2016: 1587.\n\nThe full text can be found at https://knowledge.amia.org/amia-63300-1.3360278/t005-1.3362920/f005-1.3362921/2495498-1.3363244/2495498-1.3363247?timeStamp=1479743941616\n\nInstallation:\n\npip install PyRuSH\n\nHow to use:\n\nA standalone RuSH class is available to be directly used in your code.\n\nfrom PyRuSH.RuSH import RuSH\ninput_str = \"The patient was admitted on 03/26/08\\n and was started on IV antibiotics elevation\" +\\\n \", was also counseled to minimizing the cigarette smoking. The patient had edema\\n\\n\" +\\\n \"\\n of his bilateral lower extremities. The hospital consult was also obtained to \" +\\\n \"address edema issue question was related to his liver hepatitis C. Hospital consult\" +\\\n \" was obtained. This included an ultrasound of his abdomen, which showed just mild \" +\\\n \"cirrhosis. \"\nrush = RuSH('../conf/rush_rules.tsv')\nsentences=rush.segToSentenceSpans(input_str)\nfor sentence in sentences:\n print('Sentence({0}-{1}):\\t>{2}<'.format(sentence.begin, sentence.end, input_str[sentence.begin:sentence.end]))\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jianlins/PyRuSH/archive/1.0.2.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jianlins/PyRuSH", "keywords": "PyFastNER,ner,regex", "license": "", "maintainer": "", "maintainer_email": "", "name": "PyRuSH", "package_url": "https://pypi.org/project/PyRuSH/", "platform": "", "project_url": "https://pypi.org/project/PyRuSH/", "project_urls": { "Download": "https://github.com/jianlins/PyRuSH/archive/1.0.2.zip", "Homepage": "https://github.com/jianlins/PyRuSH" }, "release_url": "https://pypi.org/project/PyRuSH/1.0.2/", "requires_dist": [ "PyFastNER" ], "requires_python": "", "summary": "A fast implementation of RuSH (Rule-based sentence Segmenter using Hashing).", "version": "1.0.2" }, "last_serial": 3519463, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e469d09d4ebf6d7a28069ce3245f2d3a", "sha256": "faab7587ed5c2e3bb160a1f2b349f63c60bbb63ef38d4b4b7529ae7635a0474b" }, "downloads": -1, "filename": "PyRuSH-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e469d09d4ebf6d7a28069ce3245f2d3a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11792, "upload_time": "2018-01-01T19:32:44", "url": "https://files.pythonhosted.org/packages/5e/af/d7c9ccd4d3b77a2b8fb5ce0c91b9882280497fa1a4db3b2e937d1338dfd9/PyRuSH-1.0-py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ed0ee670d6257ded2343022fb5218dd4", "sha256": "0b644854474a98218e90a03f1f7d8e8478fb9254d6b91029cc41f0b4fe18da3c" }, "downloads": -1, "filename": "PyRuSH-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ed0ee670d6257ded2343022fb5218dd4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11875, "upload_time": "2018-01-03T18:58:57", "url": "https://files.pythonhosted.org/packages/68/9d/46d05fb7e05b98579ca2a99dfab53d5ef56d02ae4099397447bb6bd547d3/PyRuSH-1.0.1-py3-none-any.whl" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "94f768fcc9a899f9a0eb739ff2f76a41", "sha256": "3209843d39f00b45b34320953c3fe6e04a3dbe5d35d036e81a0432b63597a0a7" }, "downloads": -1, "filename": "PyRuSH-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "94f768fcc9a899f9a0eb739ff2f76a41", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11840, "upload_time": "2018-01-25T06:21:34", "url": "https://files.pythonhosted.org/packages/a7/f4/7b43aaa0f88c7321a9688474ee4832796c632b22e5a3df4282a61589ce92/PyRuSH-1.0.2-py3-none-any.whl" } ], "1.0.dev1": [ { "comment_text": "", "digests": { "md5": "c9ce3bcd79e3683dd7ee70926973c6fc", "sha256": "170323cb65f2c805e48eb198a30e4b65056000a1a1d41e365739d5154cffabc6" }, "downloads": -1, "filename": "PyRuSH-1.0.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "c9ce3bcd79e3683dd7ee70926973c6fc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11714, "upload_time": "2018-01-01T19:26:00", "url": "https://files.pythonhosted.org/packages/04/2a/ada19413a9cca5481e96248b36656aec5c215c789eaacaa9b3337ac324dc/PyRuSH-1.0.dev1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "94f768fcc9a899f9a0eb739ff2f76a41", "sha256": "3209843d39f00b45b34320953c3fe6e04a3dbe5d35d036e81a0432b63597a0a7" }, "downloads": -1, "filename": "PyRuSH-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "94f768fcc9a899f9a0eb739ff2f76a41", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11840, "upload_time": "2018-01-25T06:21:34", "url": "https://files.pythonhosted.org/packages/a7/f4/7b43aaa0f88c7321a9688474ee4832796c632b22e5a3df4282a61589ce92/PyRuSH-1.0.2-py3-none-any.whl" } ] }