<commit_before><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet exclude-result-prefixes="#all" version="2.0"
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                xmlns:tei="http://www.tei-c.org/ns/1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <!-- XSLT to generate RDF/XML from TEI. -->

  <xsl:param name="base_uri" />

  <xsl:template match="tei:TEI">
    <rdf:RDF xml:base="{$base_uri}" />
  </xsl:template>

</xsl:stylesheet><commit_msg>Worked around odd issue with variables on xml namespaced attributes.<commit_after><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet exclude-result-prefixes="#all" version="2.0"
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                xmlns:tei="http://www.tei-c.org/ns/1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <!-- XSLT to generate RDF/XML from TEI. -->

  <xsl:param name="base_uri" />

  <xsl:template match="tei:TEI">
    <rdf:RDF>
      <xsl:attribute name="xml:base" select="$base_uri" />
    </rdf:RDF>
  </xsl:template>

</xsl:stylesheet>
{'fraction_non_alphanumeric': 0.20551601423487545, 'fraction_numerical': 0.037366548042704624, 'mean_word_length': 2.9473684210526314, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 2, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 11}, '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': '3510254', 'n_tokens_mistral': 468, 'n_tokens_neox': 423, 'n_words': 57}