I am trying to implement word2vec within nlpaug library and the following code :
aug = naw.WordEmbsAug(
model_type='word2vec', model_path='GoogleNews-vectors-negative300.bin',
action="insert")
gives me error of :
Word2VecKeyedVectors' object has no attribute 'index_to_key'
How can i fix such an issue ?