title: how can load model with text return
body: <p>i have model read a text and return a type of this text but the problem is return a 'int' numbers from 1 to 14 each number represent one type  how can change the number to type text</p>
  <p>her i save model in pickel</p>
  <pre><code>  import pickle
      # save the model to disk
      filename = 'finalized_model.sav'
      pickle.dump(svm_model_linear, open(filename, 'wb'))
  </code></pre>
  <p>the def</p>
  <pre><code>def input(x):
      Tfidf_vect = TfidfVectorizer(max_features=5000)
      Tfidf_vect.fit(df1['Complaints'])
      xinput = Tfidf_vect.transform(x)
  
      return xinput
  </code></pre>
  <p>text example</p>
  <pre><code>inputt=['العميل متذمر من الفرع ']
  </code></pre>
  <p>load the model from disk to pridect new text</p>
  <pre><code>loaded_model = pickle.load(open(filename, 'rb'))
  
  predict=loaded_model.predict(input(inputt))
  
  print(predict)
  </code></pre>
  <p>output :<code>[12]</code></p>
  <p>i need change the 12 to return spisfic text that mean 1 will change to retail and 2 will be branch etc..</p>