stanfordnlp / GloVe

Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings
Apache License 2.0
6.86k stars 1.51k forks source link

Does GloVe offer APIs to get the training vocabulary & word frequency? #154

Open Pzoom522 opened 5 years ago

Pzoom522 commented 5 years ago

Hi, I just want some help in getting the training vocabulary & word frequency from the binary file (.bin) of embedding trained by word2vec or GloVe. I know that fastText offers such API like getwords(), but I just don't know how to do the same thing on pretrained GloVe models. Thanks in advance!