Computes the relatedness of words from a phrase to the words from the context.