Using these vector representations defined for questions and answers, we can compute the score for the question-answer pair (q, a).
the scoring function S (q, a) is defined as: answer type (1) where f i (q) and g i (a) have the same dimension.