docstr: Parameters
  ----------
  target_term_doc_mat : TermDocMatrix
  
  Returns
  -------
  PriorFactory
docstr_tok: ["Parameters","--","--","--","--","--","target_term_doc_mat",":","TermDocMatrix","Returns","--","--","--","-","PriorFactory"]
code: def align_to_target(self, target_term_doc_mat):
      """
      Parameters
      ----------
      target_term_doc_mat : TermDocMatrix
  
      Returns
      -------
      PriorFactory
      """
      self.priors = self.priors[target_term_doc_mat.get_terms()].fillna(
          0
      )
      return self
  
imports: import pandas
  import numpy
  from scattertext.termranking import AbsoluteFrequencyRanker
  from scattertext.termsignificance.LogOddsRatioInformativeDirichletPiror import LogOddsRatioInformativeDirichletPrior
label_desc: Use image node_id 14 for calling the PriorFactory obj's underlying member method code with example usage: obj.align_to_target(target_term_doc_mat) and returns: self