title: How to get the list of matched featured names along with the predict_prob in CalibratedClassifierCV?
body: <p>I am trying to find the profanity score of a given text which is received on the chats.
  For this is I went through a couple of python(base) libraries and found some of the relevant ones as:</p>
  <p><a href="https://github.com/vzhou842/profanity-check" rel="nofollow noreferrer">profanity-check</a></p>
  <p><a href="https://gitlab.com/dimitrios/alt-profanity-check" rel="nofollow noreferrer">alt-profanity-check</a> -- (currently using)</p>
  <p><a href="https://github.com/rominf/profanity-filter" rel="nofollow noreferrer">profanity-filter</a></p>
  <p><a href="https://github.com/unitaryai/detoxify" rel="nofollow noreferrer">detoxify</a></p>
  <p>Now, The one which I am using (profanity-check) is giving me proper results when using
  predict and predict_prob against the calibrated_classifier used underhood after training.</p>
  <p>The problem is that I am unable to identify the words which were used to give the prediction or calculate the probability. In short the list of feature names (profane words) used in the test data when passed as an input.</p>
  <p>I know there are no methods to return the same, but I would like to fork and use the library.
  I wanted to understand if we can add something to this place (<a href="https://gitlab.com/dimitrios/alt-profanity-check/-/blob/master/profanity_check/data/train_model.py#L18" rel="nofollow noreferrer">edit</a>)  to create a method for the same.</p>
  <p>e.g</p>
  <pre><code>text = [&quot;this is crap&quot;]
  predict([text]) - array([1])
  predict_prob([text]) - array([0.99868968])
  &gt; predict_words([text]) - array([&quot;crap&quot;]) ---- (NEED THIS)
  
  </code></pre>