Skip to content

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

Merged
menshikh-iv merged 2 commits into
piskvorky:developfrom
manneshiva:fix1882
Feb 8, 2018
Merged

Add wv property to KeyedVectors (for backward compatibility). Fix #1882#1884
menshikh-iv merged 2 commits into
piskvorky:developfrom
manneshiva:fix1882

Conversation

@manneshiva
Copy link
Copy Markdown
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