gensim

Python developers can use gensim for topic modeling and related natural language processing tasks.

github.com/RaRe-Technologies/gensim
gensim homepage screenshot

About gensim

gensim is a Python library for topic modelling, document indexing and similarity retrieval with large corpora. It includes multicore implementations of LSA, LDA, Random Projections, HDP and word2vec, with streamed out-of-core processing and distributed computing for LSA and LDA.

The project is in stable maintenance mode and is not accepting new features, though bug and documentation fixes are still accepted. It depends on NumPy and no longer supports Python 2.7 in version 4.0.0 and later.

Key features

  • Topic modelling, document indexing and similarity retrieval with large corpora
  • Streamed out-of-core processing for corpora larger than RAM
  • Multicore implementations of LSA, LDA, RP, HDP and word2vec
  • Distributed LSA and LDA across a cluster of computers
  • Plug in custom corpus or datastream via streaming API
  • Extend with other Vector Space algorithms via transformation API
Best for: Python developers and researchers in natural language processing and information retrieval working with large text corpora.
Good for
  • Processes corpora larger than RAM through streamed, out-of-core handling
  • Provides multicore implementations of common topic modelling algorithms
  • Allows custom input streams and additional algorithms via APIs
Watch out for
  • In stable maintenance mode and not accepting new features
  • Does not support Python 2.7 in version 4.0.0 and later
  • Depends on NumPy, which can require BLAS linking when built from source

gensim at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

gensim alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

gensim FAQ

How do I install gensim?
Install the latest version with pip install --upgrade gensim. The software depends on NumPy.
How is gensim memory efficient if it is written in Python?
It uses NumPy with low-level BLAS libraries for matrix operations and Python generators and iterators for streamed data processing.
Does gensim support Python 2.7?
Support for Python 2.7 was dropped in gensim 4.0.0; install gensim 3.8.3 if you must use Python 2.7.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing