docs: def _generate_ngram_row_template(self, labels):
          """Returns the HTML template for a row in the n-gram table."""
          cells = ['<td>{ngram}</td>']
          for label in labels:
              cells.append('<td>{{{}}}</td>'.format(label))
          return '\n'.join(cells)