Concept

Word Analogy Task

Word vectors can be applied to word analogy tasks. A word analogy completion task is defined by the relationship a:b::c:da:b::c:d, meaning "aa is to bb as cc is to dd". Given the first three words aa, bb, and cc, the objective is to find the missing word dd. If we denote the numerical representation of a word ww as vec(w)\textrm{vec}(w), we can complete the analogy by evaluating the vector arithmetic vec(c)+vec(b)vec(a)\textrm{vec}(c) + \textrm{vec}(b) - \textrm{vec}(a) and finding the word in the vocabulary whose vector is most similar to this result.

0

1

Updated 2026-05-25

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L

Related