Gensim

Gensim supports efficient topic modeling of text semantics with its Python library.

radimrehurek.com/gensim
Gensim homepage screenshot

About Gensim

Gensim is a free Python library for topic modelling and semantic analysis of text. It is used to train semantic models, represent text as vectors, and find documents that are semantically related to a query. The homepage shows an example that trains Latent Semantic Indexing with 200-dimensional vectors and then computes similarity between a query and indexed documents.

The homepage describes the core algorithms as implemented in optimized C routines and says Gensim can process corpora larger than available memory by streaming the data. It also states that Gensim runs on Linux, Windows and Mac OS X, and on any platform that supports Python 3.8 or later and NumPy. The homepage says Gensim relies on donations for its continued operation and that commercial arrangements are handled through a separate Business Support option.

Key features

  • Trains semantic models such as Latent Semantic Indexing on text corpora
  • Represents text as semantic vectors
  • Finds semantically related documents through similarity indexing
  • Streams large corpora without requiring the full dataset to fit in RAM
  • Opens files on remote storage and compressed files through smart_open
  • Provides pretrained models and corpora for specific domains via the Gensim-data project
Best for: Python developers and researchers who need topic modelling or semantic similarity search over large collections of text.
Good for
  • The homepage states that streaming allows processing of corpora larger than available RAM.
  • Runs on Linux, Windows and Mac OS X, and on any platform supporting Python and NumPy.
  • Can be installed with pip or from the conda-forge channel.
Watch out for
  • Requires Python 3.8 or later and the NumPy package.
  • Commercial arrangements are handled separately through Business Support.

Gensim at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
Linux, Web, Windows
Open source
Not stated
Last checked
Oct 6, 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 AI Data & Analytics

Well-known listings from the same topic.

All 302

Gensim FAQ

Which Python versions does Gensim support?
The homepage says Gensim is tested with Python 3.8, 3.9, 3.10 and 3.11, and requires Python 3.8 or later.
How is Gensim installed?
The homepage recommends running pip install --upgrade gensim in a terminal. For conda environments, it lists conda install -c conda-forge gensim.
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