Skip to main content

Python framework for fast Vector Space Modelling

Project description

Gensim is a Python library for topic modelling, document indexing and similarity retrieval with large corpora. Target audience is the natural language processing (NLP) and information retrieval (IR) community.

Features

  • All algorithms are memory-independent w.r.t. the corpus size (can process input larger than RAM),

  • Intuitive interfaces

    • easy to plug in your own input corpus/datastream (trivial streaming API)

    • easy to extend with other Vector Space algorithms (trivial transformation API)

  • Efficient implementations of popular algorithms, such as online Latent Semantic Analysis, Latent Dirichlet Allocation or Random Projections

  • Distributed computing: can run Latent Semantic Analysis and Latent Dirichlet Allocation on a cluster of computers.

  • Extensive HTML documentation and tutorials.

If this feature list left you scratching your head, you can first read more about the Vector Space Model and unsupervised document analysis on Wikipedia.

Installation

This software depends on NumPy and Scipy, two Python packages for scientific computing. You must have them installed prior to installing gensim.

It is also recommended you install a fast BLAS library prior to installing NumPy. This is optional, but using an optimized BLAS such as ATLAS or OpenBLAS is known to improve performance by as much as an order of magnitude.

The simple way to install gensim is:

sudo easy_install gensim

Or, if you have instead downloaded and unzipped the source tar.gz package, you’ll need to run:

python setup.py test
sudo python setup.py install

For alternative modes of installation (without root privileges, development installation, optional install features), see the documentation.

This version has been tested under Python 2.5, 2.6 and 2.7, and should run on any 2.5 <= Python < 3.0.

Documentation

Manual for the gensim package is available in HTML. It contains a walk-through of all its features and a complete reference section. It is also included in the source distribution package.


Gensim is open source software, and has been released under the GNU LGPL license. Copyright (c) 2009-2013 Radim Rehurek

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gensim-0.8.6.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gensim-0.8.6-py2.7.egg (2.2 MB view details)

Uploaded Egg

File details

Details for the file gensim-0.8.6.tar.gz.

File metadata

  • Download URL: gensim-0.8.6.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gensim-0.8.6.tar.gz
Algorithm Hash digest
SHA256 86c91a1c1478fd3a445b4911cb9f85cb20283ec501dde72d0b829a1bda44de18
MD5 408405702f6541e07653711a7eb04a13
BLAKE2b-256 60a8a19360db2406bbf77ed37da8d9748506cea0d9c077ad6849e87dcc7f0238

See more details on using hashes here.

File details

Details for the file gensim-0.8.6-py2.7.egg.

File metadata

  • Download URL: gensim-0.8.6-py2.7.egg
  • Upload date:
  • Size: 2.2 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gensim-0.8.6-py2.7.egg
Algorithm Hash digest
SHA256 eb2af6ecb7915c419d55de7947f14313946332831d534e3386fb39ed21de2912
MD5 ae343f2aebae61c79f9fec3db46dd2e3
BLAKE2b-256 3e7bf224f2362aaa3987c7c64887596937bf71b0428a1f289c210c4065640a7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page