{ "info": { "author": "Rochan Avlur Venkat", "author_email": "rochan170543@mechyd.ac.in", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7" ], "description": "# sptm: Sentence Topic Prediction using Topic Modeling\n\n![sptm logo](img/sptm-logo.png)\n\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Rochan-A/sptm/blob/master/LICENSE)\n\n## Quick rundown\n\nsptm is a high-level API, written in Python and capable of training Topic Models using [Gensim](https://github.com/rare-technologies/gensim) and [MALLET](http://mallet.cs.umass.edu/). It was developed as a summer internship project under the guidance of [@Anupam Mediratta](https://github.com/anupamme). The package was wriiten with a focus on enabling fast experimentation. *Being able to go from idea to result with the least possible delay is key to doing good research.*\n\nUse sptm if you need a library that:\n\n- Allows for easy and fast topic model training\n- Draw Inter-topic Distance Maps\n- Construct Conditional Probability Matrix for topics\n- Predict topic of sentences\n\nRead the documentation at [sptm_source]/docs/_build/html/index.html.\n\nsptm is compatible (tested) with: __Python 3.7__.\n\n------------------\n\n## Some good stuff about sptm\n\n- __User friendliness.__ The source code is very simple to follow\n\n- __Modularity.__ You can use your own models, training algorithms etc. as long as it is supported by gensim\n\n------------------\n\n## Getting started: 30 seconds to sptm\n\nIn the [test folder](https://github.com/Rochan-A/sptm/tree/master/test) of the repository, you will find a single script with almost all classes and functions used.\n\n------------------\n\n\n## Installation\n\n- **Important**\n\nsptm makes use of MALLET whose installtion steps can be found [here](http://mallet.cs.umass.edu/download.php).\n\nThis is required only if you want to train the topic model using gensim's LDAMallet wrapper that is the default training algorithm used in sptm.\n\nThen, you can install sptm itself. There are two ways to install sptm:\n\n- **Install sptm from PyPI (recommended):**\n\n```sh\nsudo pip3 install sptm\n```\n\nIf you are using a virtualenv, you may want to avoid using sudo:\n\n```sh\npip3 install sptm\n```\n\n- **Alternatively: install sptm from the GitHub source:**\n\nFirst, clone sptm using `git`:\n\n```sh\ngit clone https://github.com/Rochan-A/sptm.git\n```\n\n Then, `cd` to the sptm folder and run the install command:\n```sh\ncd sptm\nsudo python3 setup.py install\n```\n\n- **NOTE: You will need to specifically download spacy's **en_core_web_sm** model.**\n\nThis step needs to be done irrespective the method of installation.\n\nYou can do that by running:\n\n```sh\npython3 -m spacy download en_core_web_sm\n```\n------------------\n\n## Support\n\nYou can post **bug reports and feature requests** in [GitHub issues](https://github.com/Rochan-A/sptm/issues). Make sure to read the [guidelines](https://github.com/Rochan-A/sptm/blob/master/CONTRIBUTING.md) first.\n\n------------------\n\n## Why name it sptm?\n\nsptm stands for - *Sentence topic Prediction using Topic Modeling*\n\n## Why is this readme oddly familiar?\n\nThis README is a heavily edited version of [keras's](https://keras.io)\n\n------------------\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/Rochan-A/sptm", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "sptm", "package_url": "https://pypi.org/project/sptm/", "platform": "", "project_url": "https://pypi.org/project/sptm/", "project_urls": { "Homepage": "https://github.com/Rochan-A/sptm" }, "release_url": "https://pypi.org/project/sptm/1.1.1/", "requires_dist": [ "gensim", "sklearn", "spacy", "matplotlib" ], "requires_python": "", "summary": "Sentence Topic Prediction using Topic Modeling", "version": "1.1.1" }, "last_serial": 5315736, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e60011b321e1daabc56482d26f380bb4", "sha256": "0d8d8ac6f022a7c55ef98ed9c55d94ff7d8665792a27f19f874fdc2444ffa222" }, "downloads": -1, "filename": "sptm-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e60011b321e1daabc56482d26f380bb4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13273, "upload_time": "2018-07-18T09:46:24", "url": "https://files.pythonhosted.org/packages/78/a2/f35ffe4739fd754149661298fad920292c77f36e67f48f5fc507f5fff5ea/sptm-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "848a4e42c35a726d44bf30e9b4704814", "sha256": "affbece3f643ab66fde2aa6c17e4faa0681fdf2a3ecfb691a054cbdd987ab332" }, "downloads": -1, "filename": "sptm-1.0.0.tar.gz", "has_sig": false, "md5_digest": "848a4e42c35a726d44bf30e9b4704814", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11323, "upload_time": "2018-07-18T09:46:25", "url": "https://files.pythonhosted.org/packages/d6/93/f743172a266ec7e4aaf7092aa51f818c8fb9eba8df764d0543bcdd76e30a/sptm-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "69a4e5e4df360ff6004204f7939aa90d", "sha256": "a76d36d0730100c3fa8b4901a013eeb7279bd0b47643cdf74ec9c7c58ed0b3f3" }, "downloads": -1, "filename": "sptm-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "69a4e5e4df360ff6004204f7939aa90d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14834, "upload_time": "2019-05-25T07:08:09", "url": "https://files.pythonhosted.org/packages/c1/f8/f78de71f3d9a0083d402dd09737097759e07912f7b9b05cbdf104b03c7e6/sptm-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7e78e0aaca8244374169595edc190e7", "sha256": "ba30ad50a8f479c1abc2126fd85b50f276eba9b094f57299cbb3b714bfc19cc9" }, "downloads": -1, "filename": "sptm-1.1.0.tar.gz", "has_sig": false, "md5_digest": "e7e78e0aaca8244374169595edc190e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13494, "upload_time": "2019-05-25T07:08:12", "url": "https://files.pythonhosted.org/packages/21/04/cb2fcf3bbe395af213690f9bd958e88f2e9e64db156f7900df1bcd7bcb88/sptm-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "140fd5be5f3e7d653b1101c111d7ee7f", "sha256": "5e3c7b3158f8d9a44af2c9abc336247d4cf90a1c5ce1e0a4a30ed5a241c4bae9" }, "downloads": -1, "filename": "sptm-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "140fd5be5f3e7d653b1101c111d7ee7f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14836, "upload_time": "2019-05-25T07:17:50", "url": "https://files.pythonhosted.org/packages/80/a5/becfb99a4199d82ecf01230f14ddaf8a8e192c9d8c4eb9f4523a0f1ff434/sptm-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e7804bad4669cbba63bb06f58585052", "sha256": "2e520d753d77f4f63fd02aaa43150ba28b2a593a16cfc4d389ae77f151d09fcd" }, "downloads": -1, "filename": "sptm-1.1.1.tar.gz", "has_sig": false, "md5_digest": "2e7804bad4669cbba63bb06f58585052", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13508, "upload_time": "2019-05-25T07:17:54", "url": "https://files.pythonhosted.org/packages/bc/ae/9c28e7dba42f44b0201e31e09caf6fd111b08f87e6763e7e67a6888d8cf2/sptm-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "140fd5be5f3e7d653b1101c111d7ee7f", "sha256": "5e3c7b3158f8d9a44af2c9abc336247d4cf90a1c5ce1e0a4a30ed5a241c4bae9" }, "downloads": -1, "filename": "sptm-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "140fd5be5f3e7d653b1101c111d7ee7f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14836, "upload_time": "2019-05-25T07:17:50", "url": "https://files.pythonhosted.org/packages/80/a5/becfb99a4199d82ecf01230f14ddaf8a8e192c9d8c4eb9f4523a0f1ff434/sptm-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e7804bad4669cbba63bb06f58585052", "sha256": "2e520d753d77f4f63fd02aaa43150ba28b2a593a16cfc4d389ae77f151d09fcd" }, "downloads": -1, "filename": "sptm-1.1.1.tar.gz", "has_sig": false, "md5_digest": "2e7804bad4669cbba63bb06f58585052", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13508, "upload_time": "2019-05-25T07:17:54", "url": "https://files.pythonhosted.org/packages/bc/ae/9c28e7dba42f44b0201e31e09caf6fd111b08f87e6763e7e67a6888d8cf2/sptm-1.1.1.tar.gz" } ] }