class_docstr: Calculate the similarity of two statements using Spacy models.
class_docstr_tok: ["Calculate","the","similarity","of","two","statements","using","Spacy","models","."]
docstr: Compare the two input statements.
  
  :return: The percent of similarity between the closest synset distance.
  :rtype: float
docstr_tok: ["Compare","the","two","input","statements",".",":","return",":","The","percent","of","similarity","between","the","closest","synset","distance",".",":","rtype",":","float"]
code: def compare(self, statement_a, statement_b):
      """
      Compare the two input statements.
  
      :return: The percent of similarity between the closest synset distance.
      :rtype: float
      """
      document_a = self.nlp(statement_a.text)
      document_b = self.nlp(statement_b.text)
  
      return document_a.similarity(document_b)
  
file_path: ChatterBot/chatterbot/comparisons.py
imports: from chatterbot.exceptions import OptionalDependencyImportError
  from difflib import SequenceMatcher
label_desc: Use image node_id 2 for calling the SpacySimilarity obj's underlying member method code with example usage: obj.compare(statement_a, statement_b) and returns: document_a