{ "info": { "author": "Pedro Vitor Quinta de Castro", "author_email": "pvcastro@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "## Installation instructions\n\n1. Download and install the latest Anaconda distribution from [here](https://www.anaconda.com/distribution/#download-section)\n\n2. Start the *Anaconda Powershell Prompt* if running Windows, or a terminal otherwise. Make sure conda is available in the command line path.\n\n3. Create a conda environment running `conda create -n pvcastro-iberlef python=3.6`\n\n4. Update Anaconda running `conda update -n base -c defaults conda`\n\n5. Install pytorch running `conda install pytorch-cpu -c pytorch -n pvcastro-iberlef`\n\n6. Activate the created conda environment using `conda activate pvcastro-iberlef`\n\n7. Install the AllenNLP framework running `pip install -U allennlp`\n\n8. Download the spacy model running `python -m spacy download en_core_web_sm`\n\n9. Install the pvcastro-iberlef module running `pip install -U pvcastro-iberlef`\n\n---\n\n## Execution instructions\n\nRun the NER prediction with a command as `python -m pvcastro_iberlef.predict_ner --document-path path_to_the_input_document --out-path path_to_the_output_file`\n\nParameters: \n\n- **document-path**: path to the document containing the text to be predicted for NER, with one token per line, with sentences separated by blank lines.\n- **out-path**: path to the document where the predictions results will be written. **Must specify a filename**. Example: C:\\iberlef\\predictions.txt\n\n## Observations\n\nSince the IberLEF NER model uses two language models based on [ELMo](https://github.com/allenai/allennlp/blob/master/tutorials/how_to/elmo.md), the trained model ended up quite big, with **1.4Gb aproximately**. It takes a while to download it the first time, but the model is cached, so following executions after the first will be quicker. \n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.inf.pucrs.br/linatural/wordpress/iberlef-2019/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pvcastro-iberlef", "package_url": "https://pypi.org/project/pvcastro-iberlef/", "platform": "", "project_url": "https://pypi.org/project/pvcastro-iberlef/", "project_urls": { "Homepage": "http://www.inf.pucrs.br/linatural/wordpress/iberlef-2019/" }, "release_url": "https://pypi.org/project/pvcastro-iberlef/0.4.1/", "requires_dist": [ "fire" ], "requires_python": "", "summary": "System for the IberLEF 2019 NER Task", "version": "0.4.1" }, "last_serial": 5299682, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "8fb0ac45d5a6f8e7166cf961b9007a2d", "sha256": "30bf295930224974f42b9851261f5618c66a880d8f0e6b3be9cf5e293ae4212a" }, "downloads": -1, "filename": "pvcastro_iberlef-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8fb0ac45d5a6f8e7166cf961b9007a2d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7697, "upload_time": "2019-04-17T14:03:51", "url": "https://files.pythonhosted.org/packages/d7/7a/a56089ac71d14ea020e8060531adb3b4007913e1b5ab50f7aac62d8a5faf/pvcastro_iberlef-0.2.0-py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "5df21df88323fcc5c29e0a52824678ce", "sha256": "3687c2a8a2025f2b5365f8227824adce95e3ebacd435ff3aedc6502b02a33ccc" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5df21df88323fcc5c29e0a52824678ce", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7793, "upload_time": "2019-04-17T14:15:01", "url": "https://files.pythonhosted.org/packages/dd/65/34d4041bbf031aaae42498a6fe64205df792cdd2ae445e23f172366c773a/pvcastro_iberlef-0.3.0-py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "63e702de83e964e78a99c04389d3f91e", "sha256": "bc9671baf1d429a0b5c710c428411e0e704f5e4b154ddb18233dfdfa146cc151" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "63e702de83e964e78a99c04389d3f91e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7846, "upload_time": "2019-04-18T09:41:08", "url": "https://files.pythonhosted.org/packages/7e/26/90b9135300a7d4ef1422aeac4c28ecd439e344c448a479d2890152251ddc/pvcastro_iberlef-0.3.1-py3-none-any.whl" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "17288c6752a285668b82d548e3a3cbb3", "sha256": "49b130e371bd92407288f624ec0488fc1728eefdfece9b470585c74191019a68" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "17288c6752a285668b82d548e3a3cbb3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7843, "upload_time": "2019-04-18T09:51:40", "url": "https://files.pythonhosted.org/packages/ba/b6/76c0be1a223f484a5edc71a6b86695401dcd2239ffb975a8e1d2f880066f/pvcastro_iberlef-0.3.2-py3-none-any.whl" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "78bca70254f485b22936bce3f5cbaa28", "sha256": "5298d4f572263b080059f03aa49a3c417a77da6c83b639db5cfecd25ffd063dd" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "78bca70254f485b22936bce3f5cbaa28", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7858, "upload_time": "2019-04-18T09:52:50", "url": "https://files.pythonhosted.org/packages/96/64/c3dc29a3a687cd1f635918c727dcc2690228b20961b940055cd1e28beb3b/pvcastro_iberlef-0.3.3-py3-none-any.whl" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "ecbab42f8413024c7600c08019f8c392", "sha256": "208e0a75a4324d30e4933a8156f297eb1540f58c7d8a80e68257c14958763fa0" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.4-py3-none-any.whl", "has_sig": false, "md5_digest": "ecbab42f8413024c7600c08019f8c392", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7869, "upload_time": "2019-04-18T09:58:38", "url": "https://files.pythonhosted.org/packages/c2/23/c124ae850e890319ee27da46f407bdcfb585604ace5ab662e4d22879f676/pvcastro_iberlef-0.3.4-py3-none-any.whl" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "35ca1cb8580ba01b8b1a6de89e33cc2a", "sha256": "16a19d9755f5fec637f6c73d73e3c5f4f31cc9960e7e8270039e77f3e55494a4" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "35ca1cb8580ba01b8b1a6de89e33cc2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7872, "upload_time": "2019-04-18T10:12:29", "url": "https://files.pythonhosted.org/packages/16/d8/8fcb651cdb266a502e666bf362eebfd442ffc840b30680ae112d71b83bf4/pvcastro_iberlef-0.3.5-py3-none-any.whl" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "68cd4d5a54254d2586a24db72f04a726", "sha256": "02cec1150de1e583301fb8f3a8569a5df901180ca7e466f82731b1e1f694e44f" }, "downloads": -1, "filename": "pvcastro_iberlef-0.3.6-py3-none-any.whl", "has_sig": false, "md5_digest": "68cd4d5a54254d2586a24db72f04a726", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7844, "upload_time": "2019-04-18T10:43:43", "url": "https://files.pythonhosted.org/packages/1d/65/cefee002b84de8dc4a9dd89c9886bef0a755f9ff750a919970a9325c9886/pvcastro_iberlef-0.3.6-py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "c2761227d4704bccb9bac88ad79b4288", "sha256": "8cdf29bc0985bba640a8f0c6c209d057c1386b2d66cf5081be22818f3fba7a35" }, "downloads": -1, "filename": "pvcastro_iberlef-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c2761227d4704bccb9bac88ad79b4288", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7194, "upload_time": "2019-04-18T11:31:52", "url": "https://files.pythonhosted.org/packages/e2/1f/11003d8e14b158a41b3cfaac7b0b9bfbfff45df6919a8bfc4206d5ef5c40/pvcastro_iberlef-0.4.0-py3-none-any.whl" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "5aa13c363b975b0c6790f40c4bc1eb56", "sha256": "54b68b0b5aee7cae030fabc7c2768df8278453e5761d869a2d1fdb8f6cff9d98" }, "downloads": -1, "filename": "pvcastro_iberlef-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5aa13c363b975b0c6790f40c4bc1eb56", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7069, "upload_time": "2019-05-21T20:38:23", "url": "https://files.pythonhosted.org/packages/99/fa/39d88426024f920758414058a64b821ce403398855dcece2e23f9c3f61aa/pvcastro_iberlef-0.4.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5aa13c363b975b0c6790f40c4bc1eb56", "sha256": "54b68b0b5aee7cae030fabc7c2768df8278453e5761d869a2d1fdb8f6cff9d98" }, "downloads": -1, "filename": "pvcastro_iberlef-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5aa13c363b975b0c6790f40c4bc1eb56", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7069, "upload_time": "2019-05-21T20:38:23", "url": "https://files.pythonhosted.org/packages/99/fa/39d88426024f920758414058a64b821ce403398855dcece2e23f9c3f61aa/pvcastro_iberlef-0.4.1-py3-none-any.whl" } ] }