explosion / sense2vec

🦆 Contextually-keyed word vectors
https://explosion.ai/blog/sense2vec-reloaded
MIT License
1.62k stars 239 forks source link

ImportError: cannot import name 'transform_doc' /bin/preprocess.py #69

Closed sarthusarth closed 5 years ago

HiranD commented 5 years ago

install sense2vec using setup.py after cloning the git. This error comes when you try to use pip install.

ines commented 5 years ago

This sounds like you've ended up with the wrong version installed. The files on master refer to the latest alpha, so you need to tell pip to install that explicitly: pip install sense2vec==1.0.0a1.