docstr: Returns
  -------
  PriorFactory
docstr_tok: ["Returns","--","--","--","-","PriorFactory"]
code: def use_general_term_frequencies(self):
      """
      Returns
      -------
      PriorFactory
      """
      tdf = self._get_relevant_term_freq()
      bg_df = self.term_doc_mat.get_term_and_background_counts()[
          ["background"]
      ]
      bg_df = pd.merge(
          tdf, bg_df, left_index=True, right_index=True, how="left"
      ).fillna(0.0)
      self._store_priors_from_background_dataframe(bg_df)
      return self
  
imports: import pandas
  import numpy
  from scattertext.termranking import AbsoluteFrequencyRanker
  from scattertext.termsignificance.LogOddsRatioInformativeDirichletPiror import LogOddsRatioInformativeDirichletPrior
label_desc: Use image node_id 2 for calling the PriorFactory obj's underlying member method code with example usage: obj.use_general_term_frequencies() and returns: self