Skip to content

Entity Linking with Wikipedia and Wikidata on spaCy v3.7 #13049

Discussion options

You must be logged in to vote

Hi @RistovaIvona! InMemoryLookupKB is identical to the previous KnowledgeBase class - the renaming was done as part of a refactoring that will make knowledge bases more customizable and capable in spaCy v4.

Having said that, some resources that might be useful for you:

  • wikid is a spaCy project for pulling Wikidata dumps, preprocessing and storing them in a SQLite database.
  • The EL benchmark project leverages wikid to use Wikidata as knowledge base. The dataset used for training and evaluation is Mewsli-9, but it should be easy enough to adjust the scaffolding to train with any other dataset.

In general I'd recommend adjusting the linked EL benchmark project - I think you'll have less wor…

Replies: 6 comments 49 replies

Comment options

You must be logged in to vote
29 replies
@rmitsch
Comment options

@RistovaIvona
Comment options

@rmitsch
Comment options

@RistovaIvona
Comment options

@RistovaIvona
Comment options

Answer selected by RistovaIvona
Comment options

You must be logged in to vote
5 replies
@RistovaIvona
Comment options

@RistovaIvona
Comment options

@rmitsch
Comment options

@RistovaIvona
Comment options

@rmitsch
Comment options

Comment options

You must be logged in to vote
2 replies
@lashmore
Comment options

@geekyayush
Comment options

Comment options

You must be logged in to vote
5 replies
@svlandeg
Comment options

@lashmore
Comment options

@svlandeg
Comment options

@lashmore
Comment options

@svlandeg
Comment options

Comment options

You must be logged in to vote
8 replies
@lashmore
Comment options

@svlandeg
Comment options

@lashmore
Comment options

@svlandeg
Comment options

@lashmore
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / nel Feature: Named Entity linking
6 participants