idio / wiki2vec

Generating Vectors for DBpedia Entities via Word2Vec and Wikipedia Dumps. Questions? https://gitter.im/idio-opensource/Lobby
601 stars 137 forks source link

Not able to get vectors for Wikipedia Articles #30

Open ShreyaR opened 7 years ago

ShreyaR commented 7 years ago

Hi!

I'n trying to get word vectors for Wikipedia topic names. For instance, I'd like to know the vector embedding generated for Barack Obama. I've tried the following queries:

but each of them gives me a key error. Could you tell me what the correct way to query the model would be?

keynmol commented 7 years ago

Hello, the prefix is DBPEDIA_ID/, i.e. DBPEDIA_ID/Barack_Obama should work.