Text Similarities : Estimate the degree of similarity between two texts

Adrien Sieg
29 min readJul 4, 2018

Note to the reader: Python code is shared at the end

We always need to compute the similarity in meaning between texts.

  • Search engines need to model the relevance of a document to a query, beyond the overlap in words between the two. For instance, question-and-answer sites such as Quora or Stackoverflow need to determine whether a question has already been asked before.
  • In legal matters, text similarity task allow to mitigate risks on a new contract, based on…