Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add KeyedVecs and use it in word2vec and doc2vec (#980)
* updated refactor * commit missed file * docstring added * more refactoring * add missing docstring * fix docstring format * clearer docstring * minor typo in word2vec wmdistance * pyemd error in keyedvecs * relative import of keyedvecs from word2vec fails * bug in init_sims in word2vec * property descriptors for syn0, syn0norm, index2word, vocab - fixes bug in saving * tests for loading older word2vec models * backwards compatibility for loading older models * test for syn0norm not saved to file * syn0norm not saved to file for KeyedVectors * tests and fix for accuracy * minor bug in finalized vocab check * warnings for direct syn0/syn0norm access * fixes use of most_similar in accuracy * changes logging level to ERROR in word2vec tests * renames kv to wv in word2vec * minor bugs with checking existence of syn0 * replaces syn0 and syn0norm with wv.syn0 and wv.syn0norm in tests and cython files * adds changelog * updates tests for loading word2vec models for different python versions * Added separate word2vec model explicitly for python version 3.4. * Added saved word2vec model for python 3.4 files * Removed blank line in test_wikicorpus.py * Increased window size in test_sg_hs_online * PR #986 merged in wmd in keyedvectors.py * Added deprecation warnings in Word2vec class attributes for future releases * Merged rare/develop into keyedvecs removing conflicts. * Merged rare/develop into keyedvecs and resolved conflicts. * Changed numpy to np in test_word2vec.py * Increased window size in test_cbow_hs_online * Removed blank line in test_ldamodel, work around for Travis-CI issue #971 * Removed logging during import
- Loading branch information