{ "info": { "author": "Aleksandar Bojchevski, Carsten Uhlig, Juan Miguel Cejuela", "author_email": "i@juanmi.rocks", "bugtrack_url": null, "classifiers": [ "Natural Language :: English", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Text Processing :: Linguistic" ], "description": "# \u261d\ufe0f We moved\n\nThis library is not maintained anymore, and is only ocassionally receiving bugfixes.\n\nWe moved the functionality to train NER & Relation models to [the text annotation tool, tagtog](https://www.tagtog.net):\n\n[![tagtog, The Text Annotation Tool to Train AI](http://docs.tagtog.net/assets/img/circle_2leafstext.png)](https://www.tagtog.net)\n\n---\n---\n---\n\n[![PyPI version](https://badge.fury.io/py/nalaf.svg)](https://badge.fury.io/py/nalaf)\n[![Build Status](https://travis-ci.org/Rostlab/nalaf.svg?branch=develop)](https://travis-ci.org/Rostlab/nalaf)\n[![codecov](https://codecov.io/gh/Rostlab/nalaf/branch/feature%2FExperimental/graph/badge.svg)](https://codecov.io/gh/Rostlab/nalaf)\n\n# nalaf - (Na)tural (La)nguage (F)ramework\n\nnalaf is a NLP framework written in python. The goal is to be a general-purpose module-based and easy-to-use framework for common text mining tasks. At the moment two tasks are covered: named-entity recognition (NER) and relationship extraction. These modules support both training and annotating. Associated to these, helper components such as cross-validation training or reading and conversion from different corpora formats are given. At the moment, NER is implemented with Conditional Random Fields (CRFs) and relationship extraction with Support Vector Machines (SVMs) using either linear or tree kernels.\n\nHistorically, the framework started from 2 joint theses at [Rostlab](https://rostlab.org) at [Technische Universit\u00e4t M\u00fcnchen](http://www.tum.de/en/homepage/) with a focus on bioinformatics / BioNLP. Concretely the first goal was to do extraction of NL mutation mentions. Soon after another master's thesis used and generalized the framework to do relationship extraction of transcription factors (TF) interacting with gene or gene products. The nalaf framework is planned to be used in other BioNLP tasks at Rostlab.\n\nAs a result of the original BioNLP focus, some parts of the code are tailored to the biomedical domain. However, current efforts are underway to generalize all parts and this process is almost done. Development is not active and code maintenance is not guaranteed.\n\nCurrent maintainer: [Juan Miguel Cejuela (@juanmirocks)](https://github.com/juanmirocks).\n\n![Pipeline diagram](https://www.lucidchart.com/publicSegments/view/558052b8-fcf0-4e3b-a6b4-05990a008f2c/image.png)\n(_[editable version on Lucidchart of the pipeline diagram](https://www.lucidchart.com/invitations/accept/9236d544-8b56-46c4-9f99-62fdf18e838a); requires log in_)\n\n# HOWTO Install\n\n## Requirements\n\n* Requires Python 3 (3.5, 3.6)\n\n\n## Install nalaf\n\n### From PyPi\n\n```shell\npip3 install nalaf\npython3 -m nalaf.download_data\n```\n\n### From source\n\n```shell\ngit clone https://github.com/Rostlab/nalaf.git\ncd nalaf\npython3 setup.py install\npython3 -m nalaf.download_data\n```\n\n\n## Test\n\n```shell\npython3 setup.py nosetests -a '!slow' # Exclude the slow ones\n```\n\n\n# HOWTO Run, Examples\n\nRun `example_annotate.py` for a simple example of annotation with a pre-trained NER model for protein names extraction:\n\n* `python3 example_annotate.py -p 15878741 12625412`\n* `python3 example_annotate.py -s \"This is c.A1003G an example\"` # see issue https://github.com/Rostlab/nalaf/issues/159\n* `python3 example_annotate.py -d resources/example.txt` # see issue https://github.com/Rostlab/nalaf/issues/159\n\n\n# Development\n\n* [See wiki](https://github.com/Rostlab/nalaf/wiki/Developer-Info)", "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/Rostlab/nalaf", "keywords": "nlp nlu ner re natural langauge crf svm extraction entities relationships framework", "license": "Apache License", "maintainer": "", "maintainer_email": "", "name": "nalaf", "package_url": "https://pypi.org/project/nalaf/", "platform": "", "project_url": "https://pypi.org/project/nalaf/", "project_urls": { "Homepage": "https://github.com/Rostlab/nalaf" }, "release_url": "https://pypi.org/project/nalaf/0.5.10/", "requires_dist": null, "requires_python": "", "summary": "Natural Language Framework, for NER and RE", "version": "0.5.10" }, "last_serial": 5385959, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "47d4fc7718674f202730a9bc77607bca", "sha256": "dca0bcbddee87cb7d2e00634dcd68fff2db0426cd984b3b283c1da1116124de6" }, "downloads": -1, "filename": "nalaf-0.3.0.tar.gz", "has_sig": false, "md5_digest": "47d4fc7718674f202730a9bc77607bca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8661431, "upload_time": "2018-01-12T14:49:30", "url": "https://files.pythonhosted.org/packages/14/d9/64c5133328ad3bcef41f3e721b39668e6f5673e36b14c09fd0309699b063/nalaf-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "2a404a6a1bbf7b9da47b0ceb6be243d6", "sha256": "f5d6267b79b367cd23623c6c3649b65b7ca701a162eb47cdd243af6d1a51b11a" }, "downloads": -1, "filename": "nalaf-0.3.1.tar.gz", "has_sig": false, "md5_digest": "2a404a6a1bbf7b9da47b0ceb6be243d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8661595, "upload_time": "2018-01-13T09:32:02", "url": "https://files.pythonhosted.org/packages/dc/f8/a65e860946b9078d8b15dfa88c0ef0400b423e96896f95cfaa161bf49e25/nalaf-0.3.1.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "49b85d8a48f945f1ed3498e87242e6a8", "sha256": "0d33c0df4dd70ae481cdf3723369fe9432bd4c136a8a3ddc28719f3b534f2c5f" }, "downloads": -1, "filename": "nalaf-0.3.3.tar.gz", "has_sig": false, "md5_digest": "49b85d8a48f945f1ed3498e87242e6a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8662697, "upload_time": "2018-01-13T12:01:28", "url": "https://files.pythonhosted.org/packages/43/98/a54bacf5e66f3e2e160036b3a65ac05714ccf98c98004204963be908ce00/nalaf-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "a6e31a81e57d2f0c6d8e544b7f9b6a27", "sha256": "0d2acf8108546c932f895c7ad0b4433932756f1709eac226b35c3152dbc64a14" }, "downloads": -1, "filename": "nalaf-0.3.4.tar.gz", "has_sig": false, "md5_digest": "a6e31a81e57d2f0c6d8e544b7f9b6a27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8662912, "upload_time": "2018-01-28T11:12:58", "url": "https://files.pythonhosted.org/packages/41/cd/f7e53e0bec4115d89cde90e25d307bb898f9f95dc73d4bb3c74629ddbfd7/nalaf-0.3.4.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "b9e3873e91bd4482afaf802bd538096b", "sha256": "4cbaa8f48faa06ac2d12528e358b4bb9aca84acf154bbdc6015a2aafb763a5f5" }, "downloads": -1, "filename": "nalaf-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b9e3873e91bd4482afaf802bd538096b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8663502, "upload_time": "2018-02-28T14:30:25", "url": "https://files.pythonhosted.org/packages/67/da/d3b9d6b31e9a8bd3d624deab832509f2e0247c3484e401ad8eafc2da281c/nalaf-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "24c891de21fc31900980a4998b02ae70", "sha256": "10697a3c10f2ad42f3a2c101932ead250fbe5d93d7173beb7945eb0e11f7583d" }, "downloads": -1, "filename": "nalaf-0.5.0.tar.gz", "has_sig": false, "md5_digest": "24c891de21fc31900980a4998b02ae70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8664515, "upload_time": "2018-04-04T13:02:22", "url": "https://files.pythonhosted.org/packages/a0/24/e8c905e7b646bda30a42a43615bd9722031ff53ea299ba309fa8123fefb2/nalaf-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "e4c38a6ee27372b0bbedb7cc7d06dc95", "sha256": "4f5fac455b93010e491cae26025fddcb1d4664b1a65e5f5725916439bf511bae" }, "downloads": -1, "filename": "nalaf-0.5.1.tar.gz", "has_sig": false, "md5_digest": "e4c38a6ee27372b0bbedb7cc7d06dc95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8664686, "upload_time": "2018-04-05T14:56:24", "url": "https://files.pythonhosted.org/packages/c8/7d/c1338e9749d4d54d4bb3c6e75d9c6c1d53ad2b48a99bd2f518f35d0a67c1/nalaf-0.5.1.tar.gz" } ], "0.5.10": [ { "comment_text": "", "digests": { "md5": "1b53dbe2658530200ef7d0b14e1d6781", "sha256": "9dd1c25329a681c7c730454ab777621889051d6c4c137c58d7c402024d8200fe" }, "downloads": -1, "filename": "nalaf-0.5.10.tar.gz", "has_sig": false, "md5_digest": "1b53dbe2658530200ef7d0b14e1d6781", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8659874, "upload_time": "2019-06-11T10:24:14", "url": "https://files.pythonhosted.org/packages/c5/eb/5969bcaa2d0ddb3d9e76ead7e7154898e6547122ea481e6d9b6a405109ce/nalaf-0.5.10.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "a993662c2f625d0e07e827c691324f57", "sha256": "44afa71f85bd69abefa07fb728fb96272c3514d0df00a2ae5c7bf34b7a1843a2" }, "downloads": -1, "filename": "nalaf-0.5.2.tar.gz", "has_sig": false, "md5_digest": "a993662c2f625d0e07e827c691324f57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8664743, "upload_time": "2018-04-06T08:56:09", "url": "https://files.pythonhosted.org/packages/fa/2c/5641410152fcd8b0abb90e0d9c0d8ac8a917c2ce7b497c1842cfd65e7a60/nalaf-0.5.2.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "caa304fdd24837bb1e28c46a8fd0f1f8", "sha256": "04e96c1aaed2265688216f69508eab8a149dbc6b33052fbfd3924f7d4c911392" }, "downloads": -1, "filename": "nalaf-0.5.4.tar.gz", "has_sig": false, "md5_digest": "caa304fdd24837bb1e28c46a8fd0f1f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8665000, "upload_time": "2018-07-23T12:56:34", "url": "https://files.pythonhosted.org/packages/76/25/3255cbd649c68436aa9c90b12232296f970092eed71dffb621495e9161a5/nalaf-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "7aa6b059b25376a3bfe70248636f96b8", "sha256": "b10da5ff392a62a93f17cc8121dda1da8bf0a229fdc105865a1b92834fd3ffb5" }, "downloads": -1, "filename": "nalaf-0.5.5.tar.gz", "has_sig": false, "md5_digest": "7aa6b059b25376a3bfe70248636f96b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8666058, "upload_time": "2018-12-21T14:41:01", "url": "https://files.pythonhosted.org/packages/ca/d1/41eab6854db937c5cd197248614e6203228d122355252347ddaaa4bfef81/nalaf-0.5.5.tar.gz" } ], "0.5.9": [ { "comment_text": "", "digests": { "md5": "ecb0c32513c2a6ba7434c8c0f634f80c", "sha256": "fbac14880b98bcbb56fb30f2f80add2bb46ecd3e4391b0c74d2df75bfb5c5008" }, "downloads": -1, "filename": "nalaf-0.5.9.tar.gz", "has_sig": false, "md5_digest": "ecb0c32513c2a6ba7434c8c0f634f80c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8661061, "upload_time": "2019-05-25T13:51:53", "url": "https://files.pythonhosted.org/packages/c8/0d/814cf5124fcc9efca705a31b8907ca12c6baeac0c5977a15a7a75990410e/nalaf-0.5.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b53dbe2658530200ef7d0b14e1d6781", "sha256": "9dd1c25329a681c7c730454ab777621889051d6c4c137c58d7c402024d8200fe" }, "downloads": -1, "filename": "nalaf-0.5.10.tar.gz", "has_sig": false, "md5_digest": "1b53dbe2658530200ef7d0b14e1d6781", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8659874, "upload_time": "2019-06-11T10:24:14", "url": "https://files.pythonhosted.org/packages/c5/eb/5969bcaa2d0ddb3d9e76ead7e7154898e6547122ea481e6d9b6a405109ce/nalaf-0.5.10.tar.gz" } ] }