<commit_before><xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml"
        version="1.0" exclude-result-prefixes="xhtml">
    <xsl:output indent="no" method="html" />

    <xsl:template match="*">
        <xsl:copy>
            <xsl:apply-templates select="@*|*|comment()|text()" />
        </xsl:copy>
    </xsl:template>

    <xsl:template match="@*|comment()">
        <xsl:copy />
    </xsl:template>

    <xsl:template match="html|xhtml:html">
        <xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE html&gt;&#xA;</xsl:text>
        <xsl:copy>
            <xsl:if test="@xml:lang and not(@lang)">
                <xsl:attribute name="lang">
                    <xsl:value-of select="@xml:lang" /><commit_msg>Use about:legacy-compat DOCTYPE<commit_after><xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml"
        version="1.0" exclude-result-prefixes="xhtml">
    <xsl:output indent="no" method="html" doctype-system="about:legacy-compat" />

    <xsl:template match="*">
        <xsl:copy>
            <xsl:apply-templates select="@*|*|comment()|text()" />
        </xsl:copy>
    </xsl:template>

    <xsl:template match="@*|comment()">
        <xsl:copy />
    </xsl:template>

    <xsl:template match="html|xhtml:html">
        <xsl:copy>
            <xsl:if test="@xml:lang and not(@lang)">
                <xsl:attribute name="lang">
                    <xsl:value-of select="@xml:lang" />
{'fraction_non_alphanumeric': 0.20462046204620463, 'fraction_numerical': 0.015841584158415842, 'mean_word_length': 2.877237851662404, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, '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': '2134148', 'n_tokens_mistral': 577, 'n_tokens_neox': 487, 'n_words': 66}