code: def compare(self, statement_a, statement_b):
          
          document_a = self.nlp(statement_a.text)
          document_b = self.nlp(statement_b.text)
  
          return document_a.similarity(document_b)
docs: Compare the two input statements.
  
          :return: The percent of similarity between the closest synset distance.
          :rtype: float