I am trying to reproduce the results from this repository: https://github.com/danielricks/scholar. I do not have Linux and so cannot install the word2vec
package the code uses, but it's only used for loading a pretrained word2vec model anyway, so Gensim should do the job.
The problem is that the pretrained model used by scholar is stored in a pickle file (provided in the Readme under "processed files"), postagged_wikipedia_for_word2vec_30kn3kv.pkl
.
When I try to open this file I got ModuleNotFoundError No module named 'word2vec'
. I went inside the pickle file (in Notepad) and changed word2vec
near the beginning to gensim.models.word2vec
, but then I got ModuleNotFoundError No module named 'gensim.models.word2vec'
I use Windows and so word2vec
is not really feasible to install. That is why I am trying to come up with a way to use Gensim here.