maciejkula / glove-python

Toy Python implementation of http://www-nlp.stanford.edu/projects/glove/
Apache License 2.0
1.25k stars 319 forks source link

Glove on multipe documents #104

Open nayangarg opened 4 years ago

nayangarg commented 4 years ago

I have a corpus of multiple documents. How to fit the model on such a corpus.

I read somewhere that if I create a single document with all documents separated by an empty line, it would work. What to do when we have documents where there may be empty lines in between?