Need a function that tells how much attention to give based on relevance
relevance(‘the’ | ‘match’) = G(0.1 0.5 0.2) = 12.1
relevance(‘burns’ | ’match’) = G(0.4 0.1 0.8) = 89.3
Calculate the relevance of one word (e.g. ‘burns’) for the context of another word (e.g. ‘match’)
Inputs are the word vectors without context
How to calculate the relevance from the word vectors?