code: def test_get_custom_term_frequencies(self):
      corpus = get_test_corpus()
      fact = (
          PriorFactory(corpus, starting_count=0.04)
          .use_custom_term_frequencies(pd.Series({"halt": 3, "i": 8}))
          .drop_zero_priors()
      )
      priors, clean_corpus = fact.build()
      self.assertEqual(set(clean_corpus.get_terms()), {"i", "halt"})
      np.testing.assert_equal(priors.sort_values().values, [3.04, 8.04])
  
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 6 for calling the TestPriorFactory obj's underlying member method code with example usage: obj.test_get_custom_term_frequencies() without return types