Skip to content
This repository was archived by the owner on Jan 22, 2023. It is now read-only.

Update features.py for GenSim >= 4#16

Open
tonyreina wants to merge 2 commits intosamoturk:masterfrom
tonyreina:master
Open

Update features.py for GenSim >= 4#16
tonyreina wants to merge 2 commits intosamoturk:masterfrom
tonyreina:master

Conversation

@tonyreina
Copy link

In Gensim > 4 some of the APIs have changed. Confer with https://github.com/RaRe-Technologies/gensim/wiki/Migrating-from-Gensim-3.x-to-4. This leads to an error in the sentences2vec function. I've updated the Python code to detect which version of GenSim and switch to the correct API call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant