<commit_before><?xml version="1.0"?>

<!--+
    | Transforms TextGenerator output to document format.
    |
    | CVS $Id: text2document.xsl,v 1.1 2003/07/18 00:17:23 cheche Exp $
    +-->

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output indent="yes" 
            method="xml"
	    doctype-public="-//APACHE//DTD Documentation V1.2//EN"
	    doctype-system="document-v12.dtd"
            cdata-section-elements="source"/>

  <xsl:param name="filename"/>

  <xsl:template match="/">
    <document>
      <header>
        <title>
          <xsl:value-of select="$filename"/>
        </title>
      </header>
      <body>
        <source>
          <xsl:value-of select="node()"/><commit_msg>Fix problem with "line.separator" added by the TextGenerator<commit_after><?xml version="1.0"?>

<!--+
    | Transforms TextGenerator output to document format.
    |
    | CVS $Id: text2document.xsl,v 1.2 2003/07/22 05:24:42 cheche Exp $
    +-->

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output indent="yes" 
            method="xml"
	    doctype-public="-//APACHE//DTD Documentation V1.2//EN"
	    doctype-system="document-v12.dtd"
            cdata-section-elements="source"/>

  <xsl:param name="filename"/>

  <xsl:template match="/">
    <document>
      <header>
        <title>
          <xsl:value-of select="$filename"/>
        </title>
      </header>
      <body>
        <source>
          <!-- &#13; is System.getProperty("line.separator") -->
	  <xsl:value-of select="translate(node(),'&#13;',' ')"/>
{'fraction_non_alphanumeric': 0.18427518427518427, 'fraction_numerical': 0.03931203931203931, 'mean_word_length': 2.365702479338843, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 2, '>': 34, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '3620783', 'n_tokens_mistral': 602, 'n_tokens_neox': 533, 'n_words': 93}