当我使用Import word2vec
时,我收到以下错误:
RuntimeError: you must first build vocabulary before training the model
我试过python idle和ipython
答案 0 :(得分:1)
您需要创建或获取与word2vec一起使用的矢量。
见这里: https://code.google.com/p/word2vec/#Where_to_obtain_the_training_data
在这里: https://groups.google.com/forum/#!topic/word2vec-toolkit/lxbl_MB29Ic