{ "info": { "author": "adeft developers, Harvard Medical School", "author_email": "albert_steppi@hms.harvard.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Adeft\n[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)\n[![Build](https://travis-ci.org/indralab/adeft.svg)](https://travis-ci.org/indralab/adeft)\n[![Documentation](https://readthedocs.org/projects/adeft/badge/?version=latest)](https://adeft.readthedocs.io/en/latest/?badge=latest)\n[![PyPI version](https://badge.fury.io/py/adeft.svg)](https://badge.fury.io/py/adeft)\n[![Python 3](https://img.shields.io/pypi/pyversions/adeft.svg)](https://www.python.org/downloads/release/python-357/)\n\nAdeft (Acromine based Disambiguation of Entities From Text context)\nis a utility for building models to disambiguate acronyms and other abbreviations of biological terms in the scientific literature. It makes use of an implementation of the [Acromine](http://www.chokkan.org/research/acromine/) algorithm developed\nby the [NaCTeM](http://www.nactem.ac.uk/index.php) at the University of Manchester\nto identify possible longform expansions for shortforms in a text corpus.\nIt allows users to build disambiguation models to disambiguate shortforms based\non their text context. A growing number of pretrained disambiguation models are publicly available to download through adeft.\n\n## Installation\n\nAdeft works with Python versions 3.5 and above. It is available on PyPi and can be installed with the command\n\n $ pip install adeft\n\nAdeft's pretrained machine learning models can then be downloaded with the command\n\n $ python -m adeft.download\n\n## Using Adeft\nA dictionary of available models can be imported with `from adeft import available_models`\n\nThe dictionary maps shortforms to model names. It's possible for multiple equivalent\nshortforms to map to the same model.\n\nHere's an example of running a disambiguator for ER on a list of texts\n\n```python\nfrom adeft.disambiguate import load_disambiguator\n\ner_dd = load_disambiguator('ER')\n\n ...\n\ner_dd.disambiguate(texts)\n```\n\nUsers may also build and train their own disambiguators. See the documention\nfor more info.\n\n\n## Documentation\n\nDocumentation is available at\n[https://adeft.readthedocs.io](http://adeft.readthedocs.io)\n\nJupyter notebooks illustrating Adeft workflows are available under `notebooks`:\n- [Introduction](notebooks/introduction.ipynb)\n- [Model building](notebooks/model_building.ipynb)\n\n\n## Testing\n\nAdeft uses `nosetests` for unit testing, and is integrated with the Travis\ncontinuous integration environment. To run tests locally, make sure\nto install the test-specific requirements listed in setup.py as\n\n```bash\npip install adeft[test]\n```\n\nand download all pre-trained models as shown above.\nThen run `nosetests` in the top-level `adeft` folder.\n\n## Funding\n\nDevelopment of this software was supported by the Defense Advanced Research\nProjects Agency under award W911NF018-1-0124 and the National Cancer Institute\nunder award U54-CA225088.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/indralab/adeft/archive/0.4.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/indralab/adeft", "keywords": "nlp,biology,disambiguation", "license": "", "maintainer": "", "maintainer_email": "", "name": "adeft", "package_url": "https://pypi.org/project/adeft/", "platform": "", "project_url": "https://pypi.org/project/adeft/", "project_urls": { "Download": "https://github.com/indralab/adeft/archive/0.4.0.tar.gz", "Homepage": "https://github.com/indralab/adeft" }, "release_url": "https://pypi.org/project/adeft/0.4.0/", "requires_dist": [ "nltk", "scikit-learn (>=0.20.0)", "wget", "requests", "flask", "nose ; extra == 'test'", "coverage ; extra == 'test'" ], "requires_python": "", "summary": "Acromine based Disambiguation of Entities From Text", "version": "0.4.0" }, "last_serial": 5886206, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "4944d15a260be06a8cc83d707c4757b5", "sha256": "0c7f2b4e9fdceecd6f0c6ef6b9630eb5ae68d429f0d96ce7c4813979292e9760" }, "downloads": -1, "filename": "adeft-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4944d15a260be06a8cc83d707c4757b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17085, "upload_time": "2019-05-29T20:20:09", "url": "https://files.pythonhosted.org/packages/78/c1/e5eb170ed443944e8c0fb2a1b977ba33af415f23520ff797e36dcf5d44a1/adeft-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "9b1fb5f004ea651bc4fff400c2d2e662", "sha256": "5852e1112359017edf58e9aa5718ffd1d5d54d0de2d273038c56d33143a20abd" }, "downloads": -1, "filename": "adeft-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9b1fb5f004ea651bc4fff400c2d2e662", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29240, "upload_time": "2019-06-25T18:40:02", "url": "https://files.pythonhosted.org/packages/13/bc/d6cb8eea3a84de60fe043cd28f6c5234671a856abcf2c85a1adfea0cca9f/adeft-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0aae0c709f730bc6970e188d9f80263f", "sha256": "ccf79900a4c7a848edc52e8571844bbf0034848cce35d39bd53bcccda89784b3" }, "downloads": -1, "filename": "adeft-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0aae0c709f730bc6970e188d9f80263f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23606, "upload_time": "2019-06-25T18:40:03", "url": "https://files.pythonhosted.org/packages/4c/30/9a81da253f01484a5ade32a745d699db9b302ba9c3596835b6b8ddb90737/adeft-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "e01b7b1ad259cf05c99517fbe5107f83", "sha256": "ff97c95cfc6f01b74059e5c81f9b34f3a42b760196242c8c9daf93494bbc4a5d" }, "downloads": -1, "filename": "adeft-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e01b7b1ad259cf05c99517fbe5107f83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 29523, "upload_time": "2019-09-25T16:22:49", "url": "https://files.pythonhosted.org/packages/f4/e6/77c797e55542100a2369ac549e4716418fbe375c61c926f6b5e43f060398/adeft-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa8fb57ce1b00410b99097bb47b63e44", "sha256": "e1eebc1ff7fc06e40a9f1b22b8690ad7764ab5a86aca7f02b17e71f50f4f9c78" }, "downloads": -1, "filename": "adeft-0.4.0.tar.gz", "has_sig": false, "md5_digest": "fa8fb57ce1b00410b99097bb47b63e44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24209, "upload_time": "2019-09-25T16:22:50", "url": "https://files.pythonhosted.org/packages/62/e0/90ff9f75744ea5b66b4263541b91a7f2813f172b7e56f34bf51ce7099887/adeft-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e01b7b1ad259cf05c99517fbe5107f83", "sha256": "ff97c95cfc6f01b74059e5c81f9b34f3a42b760196242c8c9daf93494bbc4a5d" }, "downloads": -1, "filename": "adeft-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e01b7b1ad259cf05c99517fbe5107f83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 29523, "upload_time": "2019-09-25T16:22:49", "url": "https://files.pythonhosted.org/packages/f4/e6/77c797e55542100a2369ac549e4716418fbe375c61c926f6b5e43f060398/adeft-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa8fb57ce1b00410b99097bb47b63e44", "sha256": "e1eebc1ff7fc06e40a9f1b22b8690ad7764ab5a86aca7f02b17e71f50f4f9c78" }, "downloads": -1, "filename": "adeft-0.4.0.tar.gz", "has_sig": false, "md5_digest": "fa8fb57ce1b00410b99097bb47b63e44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24209, "upload_time": "2019-09-25T16:22:50", "url": "https://files.pythonhosted.org/packages/62/e0/90ff9f75744ea5b66b4263541b91a7f2813f172b7e56f34bf51ce7099887/adeft-0.4.0.tar.gz" } ] }