Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move load and save word2vec_format out of word2vec class to KeyedVectors #1107

Merged
merged 62 commits into from
Jan 27, 2017

Conversation

tmylk
Copy link
Contributor

@tmylk tmylk commented Jan 24, 2017

Move save_word2vec_format and load_word_vec_format out of word2vec class and into KeyedVectors.

Benefits of refactoring:

  • support of word2vec C format in FastText, WordRank and other word embedding wrappers

Deprecation warnings in word2vec class on save_word2vec_format and load_word_vec_format

word2vec.load_word2vec_format still returns a word2vec class. This method will soon be removed.

Continuing #1078.

jayantj and others added 24 commits December 22, 2016 15:58
Conflicts:
	CHANGELOG.md
	gensim/models/word2vec.py
This reverts commit 6e20834.

Conflicts:
	gensim/test/test_word2vec.py
Conflicts:
	gensim/models/word2vec.py
@tmylk
Copy link
Contributor Author

tmylk commented Jan 24, 2017

Pinging @jayantj and @gojomo for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants