Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Not able to get vectors for Wikipedia Articles #30

Open
ShreyaR opened this issue Dec 11, 2016 · 1 comment
Open

Not able to get vectors for Wikipedia Articles #30

ShreyaR opened this issue Dec 11, 2016 · 1 comment
Labels

Comments

@ShreyaR
Copy link

ShreyaR commented Dec 11, 2016

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:

  • model['dbpedia/Barack_Obama']
  • model['DbpediaID/Barack_Obama']
  • model['Barack_Obama']

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

@keynmol
Copy link
Contributor

keynmol commented Dec 12, 2016

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

@keynmol keynmol added the ready label Jan 4, 2017
@jsgriffin jsgriffin added backlog and removed ready labels Feb 6, 2017
@Lugrin Lugrin added icebox and removed backlog labels Apr 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants