class_docstr: This class contains TF-IDF model and LSA model of text-text similarity.
class_docstr_tok: ["This","class","contains","TF-IDF","model","and","LSA","model","of","text-text","similarity","."]
code: def text2tfidf(self, text):
      tokens = self.text_process(text)
      bow = self._dict.doc2bow(tokens)
      return self._tfidf[bow]
  
imports: from numpy import array
  from gensim import matutils
label_desc: Use image node_id 5 for calling the TextRelatedness obj's underlying member method code with example usage: obj.text2tfidf(text) and returns: self