Entity linking is a key task in natural language processing. What is its main goal?
Think about how computers understand specific names or terms in text by linking them to known information.
Entity linking connects words or phrases in text to unique entities in a database, helping machines understand exactly what is being referred to.
Given a text with ambiguous mentions, which model type is most appropriate to perform entity linking?
Entity linking requires choosing the correct entity from many candidates for each mention.
Entity linking models classify each mention by selecting the correct entity from a set of candidates, unlike tagging or summarization models.
When evaluating an entity linking system, which metric best measures how well the system links mentions to the correct entities?
Think about metrics that measure correct matches between predicted and true entities.
Precision, Recall, and F1 score are standard metrics to evaluate how many entity links are correct and complete.
A model links the word 'Apple' in a sentence to the fruit entity instead of the company. What is the most likely cause?
Consider how context helps distinguish meanings of ambiguous words.
Without using surrounding words, the model cannot tell if 'Apple' means the company or the fruit, causing confusion.
Given the code below that ranks candidate entities by similarity scores, what is the printed output?
candidates = ['EntityA', 'EntityB', 'EntityC'] scores = [0.75, 0.85, 0.65] ranked = sorted(zip(candidates, scores), key=lambda x: x[1], reverse=True) print(ranked[0][0])
Look at which candidate has the highest score after sorting.
The code sorts candidates by their scores in descending order and prints the top candidate's name, which is 'EntityB'.