code: def _get_relevant_term_freq(self):
      return pd.DataFrame(
          {
              "corpus": self.term_ranker.get_ranks()[
                  [str(c) + " freq" for c in self.relevant_categories]
              ].sum(axis=1)
          }
      )
  
imports: import pandas
  import numpy
  from scattertext.termranking import AbsoluteFrequencyRanker
  from scattertext.termsignificance.LogOddsRatioInformativeDirichletPiror import LogOddsRatioInformativeDirichletPrior
label_desc: Use image node_id 3 for calling the PriorFactory obj's underlying member method code with example usage: obj._get_relevant_term_freq() and returns: pd