From Wikipedia, the free encyclopedia
Original author(s)Radim Řehůřek
Developer(s)RARE Technologies Ltd.
Initial release2009
Stable release
4.3.0[1] / 21 December 2022; 2 months ago (21 December 2022)
Written inPython
Operating systemLinux, Windows, macOS
TypeInformation retrieval

Gensim is an open-source library for unsupervised topic modeling, document indexing, retrieval by similarity, and other natural language processing functionalities, using modern statistical machine learning.

Gensim is implemented in Python and Cython for performance. Gensim is designed to handle large text collections using data streaming and incremental online algorithms, which differentiates it from most other machine learning software packages that target only in-memory processing.

Main Features[edit]

Gensim includes streamed parallelized implementations of fastText,[2] word2vec and doc2vec algorithms,[3] as well as latent semantic analysis (LSA, LSI, SVD), non-negative matrix factorization (NMF), latent Dirichlet allocation (LDA), tf-idf and random projections.[4]

Some of the novel online algorithms in Gensim were also published in the 2011 PhD dissertation Scalability of Semantic Analysis in Natural Language Processing of Radim Řehůřek, the creator of Gensim.[5]

Uses of Gensim[edit]

Gensim has been used and cited in over 1400 commercial and academic applications as of 2018,[6] in a diverse array of disciplines from medicine to insurance claim analysis to patent search.[7] The software has been covered in several new articles, podcasts and interviews.[8][9][10]

Free and Commercial Support[edit]

The open source code is developed and hosted on GitHub[11] and a public support forum is maintained on Google Groups[12] and Gitter.[13]

Gensim is commercially supported by the company, who also provide student mentorships and academic thesis projects for Gensim via their Student Incubator programme.[14]


  1. ^ "Release 4.3.0". 21 December 2022. Retrieved 12 January 2023.
  2. ^ Scalable *2vec training
  3. ^ Deep learning with word2vec and Gensim
  4. ^ Radim Řehůřek and Petr Sojka (2010). Software framework for topic modelling with large corpora. Proc. LREC Workshop on New Challenges for NLP Frameworks
  5. ^ Řehůřek, Radim (2011). "Scalability of Semantic Analysis in Natural Language Processing" (PDF). Retrieved 27 January 2015. my open-source gensim software package that accompanies this thesis
  6. ^ Gensim academic citations
  7. ^ Commercial adopters of Gensim
  8. ^ Podcast.__init__ episode #71 on Gensim
  9. ^ Interview with Radim Řehůřek, creator of Gensim
  10. ^ "DecisionStats Interview Radim Řehůřek Gensim #python". 8 December 2015.
  11. ^ Gensim source code on Github
  12. ^ Gensim mailing list on Google Groups
  13. ^ Gensim chat room on Gitter
  14. ^ Gensim open source Incubator

External links[edit]