{ "info": { "author": "Simon D. Hernandez", "author_email": "py.kleis@totum.one", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# Kleis: Python package for keyphrase extraction\n\nKleis is a python package to label keyphrases in scientific text. It is named after the ancient greek word [\u03ba\u03bb\u03b5\u03af\u03c2](https://en.wiktionary.org/w/index.php?title=%CE%BA%CE%BB%CE%B5%CE%AF%CF%82).\n## Install \n\n### Pip (Easy and quick)\n\n```\n$ pip install kleis-keyphrase-extraction\n```\n\n### Make your own wheel\n\n```\n$ git clone https://github.com/sdhdez/kleis-keyphrase-extraction.git\n$ cd kleis-keyphrase-extraction/\n$ python setup.py sdist bdist_wheel\n$ pip install dist/kleis_keyphrase_extraction-0.1.X.devX-py3-none-any.whl\n```\nReplace X with the corresponding values.\n\nNote: This method doesn't include pre-trained models, you should download the corpus so it can train.\n\n## Usage \n\nExample [here](https://github.com/sdhdez/kleis-keyphrase-extraction/blob/r0.1.2/notebooks/minimal-example.ipynb)\n\n\n## Datasets\n\nThepackage already includes some pre-trained models but if you want to test by your own you should download the datasets. \n\nDownload from [SemEval 2017 Task 10](https://scienceie.github.io/resources.html) and decompress in \"~/kleis_data/corpus/semeval2017-task10\" or \"./kleis_data/corpus/semeval2017-task10\"\n\n```\n$ ls ~/kleis_data/corpus/semeval2017-task10\n\nbrat_config eval.py __MACOSX README_data.md scienceie2017_test_unlabelled train2 xml_utils.py\ndev eval_py27.py README_data_dev.md README.md semeval_articles_test util.py zips\n```\n\n## Test\n\nYou can test your installation with [keyphrase-extraction-example.py](https://github.com/sdhdez/kleis-keyphrase-extraction/blob/master/keyphrase-extraction-example.py)\n\n```\n$ python keyphrase-extraction-example.py\n```\n\nAlso, see [here](https://github.com/sdhdez/kleis-keyphrase-extraction/blob/r0.1.2/notebooks/Keyphrase_extraction.ipynb) for another example.\n\n\n## Requirements \n\n - Python 3 (Tested: 3.6.5)\n - nltk (with corpus) (Tested: 3.2.5)\n - python-crfsuite (Tested: 0.9.5)\n\n## Optional\n\n### Notebooks\n\nTo run the noteooks in this repository install JupyterLab.\n\n```\n$ pip install jupyterlab\n```\n\nThen run the following command. \n\n```\njupyter lab\n```\n\n## Further information\n\nThis method uses a CRFs model (Conditional Random Fields) to label keyphrases in text, the model is trained with keyphrase candidates filtered with Part-of-Spech tag sequences. It is based on the method described [here](https://aclanthology.coli.uni-saarland.de/papers/S17-2174/s17-2174), but with a better performance. Please, feel free to send us comments or questions.\n\nIn this version we use [python-crfsuite](https://github.com/scrapinghub/python-crfsuite). \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": "https://github.com/sdhdez/kleis-keyphrase-extraction", "keywords": "keyphrase-extraction keyphrase-labeling keyword-extraction crf pos-tag-sequences", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "kleis-keyphrase-extraction", "package_url": "https://pypi.org/project/kleis-keyphrase-extraction/", "platform": "", "project_url": "https://pypi.org/project/kleis-keyphrase-extraction/", "project_urls": { "Homepage": "https://github.com/sdhdez/kleis-keyphrase-extraction" }, "release_url": "https://pypi.org/project/kleis-keyphrase-extraction/0.1.2.dev0/", "requires_dist": [ "nltk", "python-crfsuite" ], "requires_python": ">=3.5, <4", "summary": "Python package for keyphrase labeling.", "version": "0.1.2.dev0" }, "last_serial": 3869256, "releases": { "0.1.1.dev0": [ { "comment_text": "", "digests": { "md5": "1da343711eba1f591750757f78415c10", "sha256": "91299cc0608aeac6ec9136f376840ac2482c0e3cf653e30eab8a221238d4fb4c" }, "downloads": -1, "filename": "kleis_keyphrase_extraction-0.1.1.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "1da343711eba1f591750757f78415c10", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5, <4", "size": 7126551, "upload_time": "2018-05-04T13:02:08", "url": "https://files.pythonhosted.org/packages/68/c7/bbfc914bf580d83bc88b9a49cd757c1e3b78d4e27723cd028da26081afc1/kleis_keyphrase_extraction-0.1.1.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da02516edeb49ee08535d201241b315b", "sha256": "852996ee55467e9c57e855cd938f72a1c392e965110b5273ceb957f62ccf676a" }, "downloads": -1, "filename": "kleis-keyphrase-extraction-0.1.1.dev0.tar.gz", "has_sig": false, "md5_digest": "da02516edeb49ee08535d201241b315b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5, <4", "size": 7161030, "upload_time": "2018-05-04T13:02:13", "url": "https://files.pythonhosted.org/packages/31/4b/c02a36aaa6caffbeb363c4da1cf035d26f71f469855be048f5fc8620af5b/kleis-keyphrase-extraction-0.1.1.dev0.tar.gz" } ], "0.1.1.dev1": [ { "comment_text": "", "digests": { "md5": "f0834a97e6dda022b677ef7713875243", "sha256": "a693ae9e32eaf17ba8e49045d7fd628ffef0c35f3c619766e7ce98552f8c7187" }, "downloads": -1, "filename": "kleis_keyphrase_extraction-0.1.1.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "f0834a97e6dda022b677ef7713875243", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5, <4", "size": 7126948, "upload_time": "2018-05-09T10:11:11", "url": "https://files.pythonhosted.org/packages/5c/0c/a24f149cde09d9ed9c6a15a8ecc8a310d9e54c3e7f6169e71252d1863726/kleis_keyphrase_extraction-0.1.1.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7831fca7914a49aa8f8a0895c125b1a8", "sha256": "5bff31df7a83fe5ae75055396ec74db8318c6a010e40a11f6d067641997cfef8" }, "downloads": -1, "filename": "kleis-keyphrase-extraction-0.1.1.dev1.tar.gz", "has_sig": false, "md5_digest": "7831fca7914a49aa8f8a0895c125b1a8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5, <4", "size": 7161142, "upload_time": "2018-05-09T10:11:14", "url": "https://files.pythonhosted.org/packages/5b/66/86124ea493fd222bde59ede8a49118ec75e9404b9233e9155fb2a387167a/kleis-keyphrase-extraction-0.1.1.dev1.tar.gz" } ], "0.1.2.dev0": [ { "comment_text": "", "digests": { "md5": "7f3cbefea98a82d382dae870e05870bc", "sha256": "6ff964099ed19ec779e7fbf4f1d5490cc3864a4e39e6dac50ce25eb2f64a3e42" }, "downloads": -1, "filename": "kleis_keyphrase_extraction-0.1.2.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "7f3cbefea98a82d382dae870e05870bc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5, <4", "size": 14711198, "upload_time": "2018-05-16T15:55:30", "url": "https://files.pythonhosted.org/packages/cd/c1/dc8fd3bce4f62c4d9bc36f041725058356d39673fd8dbd8c3ba6b2e39569/kleis_keyphrase_extraction-0.1.2.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd1cdda53548ec5672f31f49b9cc3ee3", "sha256": "7514e2183513d21c232849035eba16557516ff34ee40cc403a328152ae0f6421" }, "downloads": -1, "filename": "kleis-keyphrase-extraction-0.1.2.dev0.tar.gz", "has_sig": false, "md5_digest": "bd1cdda53548ec5672f31f49b9cc3ee3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5, <4", "size": 14792503, "upload_time": "2018-05-16T15:55:35", "url": "https://files.pythonhosted.org/packages/b8/36/86596b18dff33a6bf865cba35d17e50e92724595bfa7b45b78cbf843eb69/kleis-keyphrase-extraction-0.1.2.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7f3cbefea98a82d382dae870e05870bc", "sha256": "6ff964099ed19ec779e7fbf4f1d5490cc3864a4e39e6dac50ce25eb2f64a3e42" }, "downloads": -1, "filename": "kleis_keyphrase_extraction-0.1.2.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "7f3cbefea98a82d382dae870e05870bc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5, <4", "size": 14711198, "upload_time": "2018-05-16T15:55:30", "url": "https://files.pythonhosted.org/packages/cd/c1/dc8fd3bce4f62c4d9bc36f041725058356d39673fd8dbd8c3ba6b2e39569/kleis_keyphrase_extraction-0.1.2.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd1cdda53548ec5672f31f49b9cc3ee3", "sha256": "7514e2183513d21c232849035eba16557516ff34ee40cc403a328152ae0f6421" }, "downloads": -1, "filename": "kleis-keyphrase-extraction-0.1.2.dev0.tar.gz", "has_sig": false, "md5_digest": "bd1cdda53548ec5672f31f49b9cc3ee3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5, <4", "size": 14792503, "upload_time": "2018-05-16T15:55:35", "url": "https://files.pythonhosted.org/packages/b8/36/86596b18dff33a6bf865cba35d17e50e92724595bfa7b45b78cbf843eb69/kleis-keyphrase-extraction-0.1.2.dev0.tar.gz" } ] }