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

Add wv property to KeyedVectors (for backward compatibility). Fix #1882 #1884

Merged
merged 2 commits into from
Feb 8, 2018

Conversation

manneshiva
Copy link
Contributor

@manneshiva manneshiva commented Feb 8, 2018

This PR fixes #1882 issue.

  • Adds back wv property (alias for self) to KeyedVectors for backward compatibility.
  • Adds unittest case for the same.

@menshikh-iv menshikh-iv changed the title Adds wv property to KeyedVectors Add wv property to KeyedVectors (for backward compatibility). Fix #1882 Feb 8, 2018
@menshikh-iv menshikh-iv merged commit f4354ce into piskvorky:develop Feb 8, 2018
sj29-innovate pushed a commit to sj29-innovate/gensim that referenced this pull request Feb 21, 2018
…iskvorky#1882 (piskvorky#1884)

* adds test for `wv` property

* adds `wv` property to KeyedVectors class
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.

Accesing vector model vocabulary broken in Gensim 3.3 when loading from word2vec format
2 participants