Questions tagged [entity-linking]
25 questions
7
votes
1 answer
How is hits@k calculated and what does it mean in the context of link prediction in knowledge bases
I study papers on link prediction in knowledge networks. Authors usually report "Hits@k". I wonder how to calculate hits@k and what does it mean about the model and the results?

SilentFlame
- 487
- 5
- 15
5
votes
1 answer
spacy Entity Linking - Word Vectors
I am very confused about how word vectors work, specifically in regards to spacy's entity linking (https://spacy.io/usage/training#entity-linker).
When adding an entity to a knowledge base, one of the parameters is the entity_vector. How do you get…

formicaman
- 1,317
- 3
- 16
- 32
5
votes
2 answers
Training times for Spacy Entity Linking model
I'm trying to train a Spacy Entity Linking model using Wikidata and Wikipedia, using the scripts in https://github.com/explosion/spaCy/tree/master/bin/wiki_entity_linking. I've generated the KB and moved to training the model, but that is not done…

Alessandro
- 51
- 3
3
votes
0 answers
How to evaluate SciSpaCy's entity linking
I'm using SciSpaCy's Entity Linker with a custom knowledge base. As I'm updating some components of my application (e.g. the underlying language model, sentence tokenization pipeline, the knowledge base itself, etc), I'm noticing that (1) the number…

IVR
- 1,718
- 2
- 23
- 41
3
votes
2 answers
Is it possible to use NER-Label in Entity Linking candidate generation in spaCy?
I want to use spaCy for Entity Linking (EL). I already trained a spaCy Named Entity Recognition (NER) model with custom labels on my domain-specific corpus. However my following example will be using the regular entity labels PERSON and…

LBoss
- 496
- 6
- 15
3
votes
1 answer
Spacy - entity linker - why is the predict score a combination of prob and cosine sim?
I was going through the predict method for the entity linker pipe under spacy, and for some reason the score is defined as the following :
scores = prior_probs + sims - (prior_probs*sims)
Link here
Anybody has experience with this / knows where this…

user3741951
- 189
- 1
- 11
2
votes
1 answer
Incorrect entity being returned by EntityLinker Spacy
I have been training an entity linker with Spacy which has 6,000 entities from Wikidata.
The training data contains of 30,000 sentences.
I'm following the notebook provided by Spacy…

dav_1900
- 23
- 4
2
votes
1 answer
what controls the order of UMLS linked entities from scispacy if the scores are all 1
i'm using Scispacy (which is awesome!) but when I type 'tau' into the app found here https://scispacy.apps.allenai.org/
the UMLS entity gives me the canonical name of 'MAPT gene' which is what I want.
But when I do the exact same thing in my python…

Charlie Jeynes
- 21
- 1
2
votes
2 answers
Warning: [W030] Some entities could not be aligned in the text
TRAIN_DATA = [
("XYZxyzg hat die beste Camera für Selfies", {"entities": [(0, 7, "BRAND"), (23, 28, "CAMERA")]}),
]
Upon training this, I keep getting an error on this line that:
serWarning: [W030] Some entities could not be aligned in the text…
user12541823
2
votes
1 answer
create space KnowledgeBase for similar nouns
The entity linking examples in spacy's documentation are all based on named entities. Is it possible create a knowledgeable such that it links certain nouns with certain nouns?
For example, "aeroplane" with "plane" and "aeroplane" in case of a…
user12541823
2
votes
1 answer
Entity Linking with spacy/Wikipedia
I am trying to follow the example here: https://github.com/explosion/spaCy/tree/master/bin/wiki_entity_linking. But I am just confused as to what is in the training data. Is it everything from Wikipedia? Say I just need training data on a few…

formicaman
- 1,317
- 3
- 16
- 32
2
votes
1 answer
Error running Spacy entity linking example
I was trying the entity linking example in spacy.
This is the information about spaCy in my system.
============================== Info about spaCy ==============================
spaCy version 2.2.2
Location …

Manimaran Paneerselvam
- 68
- 1
- 9
2
votes
1 answer
How to perform entity linking to local knowledge graph?
I'm building my own knowledge base from scratch, using articles online.
I am trying to map the entities from my scraped SPO triples (the Subject and potentially the Object) to my own record of entities which consist of listed companies which I…

Alex Ramses
- 538
- 3
- 19
1
vote
1 answer
Can I update the spacy's Entity Linking knowledge base after training?
Let's suppose I have successfully trained an Entity Linking model, and it is working just fine. But, eventually, I'm going to update some aliases of the knowledge base. Just some aliases not the description nor new entities.
I know that spacy has a…

rdemorais
- 243
- 3
- 11
1
vote
0 answers
spacy Entity Linking at paragraph level
Entity linking works well for sentence based one. How to use spacy entity linking for a paragraph level instead of sentence level text? Any guidance on it would be helpful.

sampath kumaran
- 9
- 1