<commit_before>\lstdefinelanguage{syntax}
  {
    sensitive=false,
    mathescape=true,
    columns=fullflexible,
    basicstyle=\small,
    keywordstyle=\footnotesize\ttfamily,
    commentstyle=\footnotesize\ttfamily,
    identifierstyle=\small\itshape,
    moredelim=[is][\small\ttfamily]{`}{'},
    literate={-}{{\ttfamily -}}{1}
             {[OPT]}{{{\scriptsize $_{opt}$}}}{2}
  }

\lstnewenvironment{syntax}{\lstset{language=syntax,xleftmargin=2pc}}{}

\newcommand{\sntx}[1]{\lstinline[language=syntax]!#1!}<commit_msg>My best attempt at getting the syntax listing to look better.<commit_after>\lstdefinelanguage{syntax}
  {
    sensitive=false,
    mathescape=true,
    basewidth = 0.50em,
    fontadjust=true,
    columns=fullflexible,
    basicstyle=\small,
    keywordstyle=\footnotesize\ttfamily,
    commentstyle=\footnotesize\ttfamily,
    identifierstyle=\small\slshape,
    moredelim=[is][\small\bf]{`}{'},
    literate={-}{{\ttfamily -}}{1}
             {[OPT]}{{{\scriptsize $_{opt}$}}}{2}
  }

\lstnewenvironment{syntax}{\lstset{language=syntax,xleftmargin=2pc}}{}

\newcommand{\sntx}[1]{\lstinline[language=syntax]!#1!}
{'fraction_non_alphanumeric': 0.18086040386303776, 'fraction_numerical': 0.01141352063213345, 'mean_word_length': 4.560975609756097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6504179', 'n_tokens_mistral': 399, 'n_tokens_neox': 379, 'n_words': 42}