Note that each element of A in the j-th column indicates the similarity between j-th gloss word and each context word.
we can get the attention weight for each context word through a softmax function across the column of A: where A :j denotes j-th column of A and A c :j denotes j-th column of A c ∈ R n×m .