code: def _get_lexicon_html(self, terms):
      lexicon_html = ""
      for i, term in enumerate(terms):
          lexicon_html += (
              "<b>"
              + ClickableTerms.get_clickable_term(
                  term, self.term_plot_interface
              )
              + "</b>"
          )
          if self.include_category_labels:
              category = self.category_projection.category_counts.loc[
                  term
              ].idxmax()
              lexicon_html += (
                  " (<i>%s</i>)"
                  % ClickableTerms.get_clickable_term(
                      category,
                      self.category_plot_interface,
                      self.term_plot_interface,
                  )
              )
          if i != len(terms) - 1:
              lexicon_html += ",\n"
      return lexicon_html
  
file_path: scattertext/scattertext/viz/PairPlotFromScattertextStructure.py
imports: from scattertext.Common import PAIR_PLOT_HTML_VIZ_FILE_NAME, PAIR_PLOT_WITHOUT_HALO_HTML_VIZ_FILE_NAME
  from scattertext.categoryprojector.CategoryProjection import CategoryProjection, CategoryProjectionBase
  from scattertext.viz.BasicHTMLFromScatterplotStructure import D3URLs, ExternalJSUtilts, PackedDataUtils, cell_height_and_cell_height_short_from_height
  from scattertext.viz.HTMLSemioticSquareViz import ClickableTerms
label_desc: Use image node_id 4 for calling the PairPlotFromScatterplotStructure obj's underlying member method code with example usage: obj._get_lexicon_html(terms) and returns: lexicon_html