AttributeError: 'Word2Vec' object has no attribute 'vocab'

在 Gensim 1.0.0 版本后移除了 vocab,需使用

 

model.wv.vocab

posted @ 2018-11-05 21:43  Python研究者  阅读(7848)  评论(0编辑  收藏  举报