To compute the similarity between arbitrary sentence pairs, we represent each sentence by averaging the embeddings of its constituent words.
3 of this first step, our method keeps for each source sentence the n closest target sentences (n being small, for instance with a value of 100) according to the similarity score.