code: def test_neutral_categories(self):
      corpus = get_test_corpus()
      priors = (
          PriorFactory(
              corpus,
              "hamlet",
              starting_count=0.001,
              not_categories=["swift"],
          )
          .use_neutral_categories()
          .get_priors()
      )
      self.assertEqual(priors.min(), 0.001)
      self.assertEqual(priors.shape[0], corpus._X.shape[1])
  
      corpus = get_test_corpus()
      priors = (
          PriorFactory(
              corpus,
              "hamlet",
              starting_count=0.001,
              not_categories=["swift"],
          )
          .use_neutral_categories()
          .drop_zero_priors()
          .get_priors()
      )
  
      jzcnts = (
          corpus.get_term_freq_df()["jay-z/r. kelly freq"]
          .where(lambda x: x > 0)
          .dropna()
      )
      np.testing.assert_equal(priors.values, jzcnts.values + 0.001)
  
file_path: scattertext/scattertext/test/test_PriorFactory.py
imports: from unittest import TestCase
  import numpy
  import pandas
  from scattertext import LogOddsRatioInformativeDirichletPrior
  from scattertext.PriorFactory import PriorFactory
  from scattertext.test.test_semioticSquare import get_test_corpus
label_desc: Use image node_id 2 for calling the TestPriorFactory obj's underlying member method code with example usage: obj.test_neutral_categories() without return types