eazteregg / Pun-Intended

An application designed to help users find puns.
GNU Lesser General Public License v3.0
1 stars 4 forks source link

Add the first line in the vector file automatically (400000 100) #9

Closed artificial-max closed 7 years ago

artificial-max commented 7 years ago

Currently, when the first line of glove.6B.100d.txt is not "400000 100", SearchEngine.py crashes.

eazteregg commented 7 years ago

at what point does it crash? the value error should be excepted in SearchEngine.py and then a word2vec formatted file should be created. at least, that's what it's doing on my end.

eazteregg commented 7 years ago

I know you showed it to me last week, but try as I might, I cannot reproduce the error on my end.

artificial-max commented 7 years ago

Fixed. With commit 7b84d090842dec7aca72cabd40d7f0ff33c416c5