3.8.0
3.8.0, 2019-07-08
⚠️ 3.8.x will be the last Gensim version to support Py2.7. Starting with 4.0.0, Gensim will only support Py3.5 and above
🌟 New Features
- Enable online training of Poincare models (koiizukag, #2505)
- Make BM25 more scalable by adding support for generator inputs (saraswatmks, #2479)
- Allow the Gensim dataset / pre-trained model downloader
gensim.downloaderto run offline, by introducing a local file cache (mpenkov, #2545) - Make the
gensim.downloadertarget directory configurable (mpenkov, #2456) - Support fast kNN document similarity search using NMSLIB (masa3141, #2417)
🔴 Bug fixes
- Fix
smart_opendeprecation warning globally (itayB, #2530) - Fix AppVeyor issues with Windows and Py2 (mpenkov, #2546)
- Fix
topn=0versustopn=Nonebug inmost_similar, accepttopnof any integer type (Witiko, #2497) - Fix Python version check (charsyam, #2547)
- Fix typo in FastText documentation (Guitaricet, #2518)
- Fix "Market Matrix" to "Matrix Market" typo. (Shooter23, #2513)
- Fix auto-generated hyperlinks in
CHANGELOG.md(mpenkov, #2482)
📚 Tutorial and doc improvements
- Generate documentation for the
gensim.similarities.termsimmodule (Witiko, #2485) - Simplify the
Supportsection in README (piskvorky, #2542)
👍 Improvements
⚠️ Deprecations (will be removed in the next major release)
-
Remove
gensim.models.FastText.load_fasttext_format: use load_facebook_vectors to load embeddings only (faster, less CPU/memory usage, does not support training continuation) and load_facebook_model to load full model (slower, more CPU/memory intensive, supports training continuation)gensim.models.wrappers.fasttext(obsoleted by the new nativegensim.models.fasttextimplementation)gensim.examplesgensim.nosygensim.scripts.word2vec_standalonegensim.scripts.make_wiki_lemmagensim.scripts.make_wiki_onlinegensim.scripts.make_wiki_online_lemmagensim.scripts.make_wiki_online_nodebuggensim.scripts.make_wiki(all of these obsoleted by the new nativegensim.scripts.segment_wikiimplementation)- "deprecated" functions and attributes
-
Move
gensim.scripts.make_wikicorpus➡gensim.scripts.make_wiki.pygensim.summarization➡gensim.models.summarizationgensim.topic_coherence➡gensim.models._coherencegensim.utils➡gensim.utils.utils(old imports will continue to work)gensim.parsing.*➡gensim.utils.text_utils