{ "info": { "author": "Ke Huang", "author_email": "khuang@cs.uml.edu", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "# GlovePy\n\nA Python implementation with Cython of the [GloVe](http://www-nlp.stanford.edu/projects/glove/) algorithm with multi-threaded training.\nthis Python package mainly contains two Python classes. The first Python class (Corpus) builds the co-occurrence matrix given a collection of\ndocuments; while the second Python class (Glove) will generate vector representations for words.\n\nGloVe is an unsupervised learning algorithm for generating vector representations for words developed by Stanford NLP lab.\nThe paper describing the model is [here](http://nlp.stanford.edu/projects/glove/glove.pdf). In contrast with\n[Word2Vec](https://code.google.com/p/word2vec/) (there is a great Python implementation in [gensim](http://radimrehurek.com/gensim/models/word2vec.html))\nwhich is often referred as prediction method, GloVe is called counting method which the embedding is produced by factorizing the logarithm of the\ncorpus word co-occurrence matrix.\n\nThe original implementation for this Machine Learning model can be [found here](http://nlp.stanford.edu/projects/glove/). This work is based on the work of [glove-python](https://github.com/maciejkula/glove-python) and [glove](https://github.com/JonathanRaiman/glove).\n\n## Installation\n\n### Build on Windows\n\nIf you are installing this package on Windows (tested on Windows 10), you will need to install Visual C++ 2015 Build Tools. If you have already installed Microsoft Visual Studio, you cannot install the Visual C++ Build Tools. It will ask you to uninstall your existing VS when you tried to install the Visual C++ build tools using the standalone installer. However, since you already have the VS, you can go to Control Panel\u2014Programs and Features and right click the VS item and Change-Modify, then check the option of those components that relates to the Visual C++ Build Tools, like Visual C++, Windows SDD, then install them. Please also make sure the Build tools path has been added to the system path.\n\nOnce you have the Visual C++ Build Tools, you can build the package as follows:\n\n```python\npython setup.py build_ext --inplace --compiler=msvc\npython setup.py install\n```\n\n### Linux\n\nInstall from the source code:\n\n```python\npython setup.py install\n```", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/umlkhuang/glovepy", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/umlkhuang/glovepy", "keywords": "NLP,Machine Learning", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "glovepy", "package_url": "https://pypi.org/project/glovepy/", "platform": "linux", "project_url": "https://pypi.org/project/glovepy/", "project_urls": { "Download": "https://github.com/umlkhuang/glovepy", "Homepage": "https://github.com/umlkhuang/glovepy" }, "release_url": "https://pypi.org/project/glovepy/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Python implementation of the GloVe algorithm for word embedding", "version": "0.0.3" }, "last_serial": 3129690, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "cdb0de7bab514e57be03759b515892a4", "sha256": "254e594ab37db433b38ebe3fb813eab18c8d4f27e7920637c7d357233adb7fbc" }, "downloads": -1, "filename": "glovepy-0.0.3-py3.5-linux-x86_64.egg", "has_sig": false, "md5_digest": "cdb0de7bab514e57be03759b515892a4", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 510155, "upload_time": "2017-08-28T18:24:53", "url": "https://files.pythonhosted.org/packages/73/a9/84e8e998f3516c8e4ad78c07816dc58bf003f4bf0c8ee8f8685567eb11db/glovepy-0.0.3-py3.5-linux-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "32513dd4efddeb8f0e2e389c5dbefff5", "sha256": "1ac723a058b00df3425bea75734047ed3eacfbe81557243f2cca6784627df1b7" }, "downloads": -1, "filename": "glovepy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "32513dd4efddeb8f0e2e389c5dbefff5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145231, "upload_time": "2017-08-28T18:29:44", "url": "https://files.pythonhosted.org/packages/0d/59/b1a51767841b03a0897c305b7dfb044e81840c8efd419525b513d63d5415/glovepy-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdb0de7bab514e57be03759b515892a4", "sha256": "254e594ab37db433b38ebe3fb813eab18c8d4f27e7920637c7d357233adb7fbc" }, "downloads": -1, "filename": "glovepy-0.0.3-py3.5-linux-x86_64.egg", "has_sig": false, "md5_digest": "cdb0de7bab514e57be03759b515892a4", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 510155, "upload_time": "2017-08-28T18:24:53", "url": "https://files.pythonhosted.org/packages/73/a9/84e8e998f3516c8e4ad78c07816dc58bf003f4bf0c8ee8f8685567eb11db/glovepy-0.0.3-py3.5-linux-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "32513dd4efddeb8f0e2e389c5dbefff5", "sha256": "1ac723a058b00df3425bea75734047ed3eacfbe81557243f2cca6784627df1b7" }, "downloads": -1, "filename": "glovepy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "32513dd4efddeb8f0e2e389c5dbefff5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145231, "upload_time": "2017-08-28T18:29:44", "url": "https://files.pythonhosted.org/packages/0d/59/b1a51767841b03a0897c305b7dfb044e81840c8efd419525b513d63d5415/glovepy-0.0.3.tar.gz" } ] }