<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--      * cmi2csv *      -->
<!--         2.0.0         -->
<!--   * programmed by *   -->
<!-- * <NAME> * -->
<xsl:stylesheet xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" exclude-result-prefixes="tei">
  <xsl:output encoding="UTF-8" method="text"/>
  <xsl:strip-space elements="*"/>
  <!-- define csv seperator -->
  <xsl:variable name="sep" select="','"/>
  <xsl:template match="/">
    <xsl:text>sender,senderID,senderPlace,senderPlaceID,senderDate,addressee,addresseeID,addresseePlace,addresseePlaceID,addresseeDate,edition,key&#10;</xsl:text>
    <xsl:apply-templates/>
  </xsl:template>
  <xsl:template match="tei:fileDesc"/>
  <xsl:template match="tei:profileDesc">
    <xsl:apply-templates/>
  </xsl:template>
  <xsl:template match="tei:correspDesc">
    <xsl:apply-templates select="tei:correspAction[@type='sent']"/>
    <xsl:if test="not(tei:correspAction[@type='sent'])">
      <xsl:value-of select="concat($sep,$sep,$sep,$sep)"/>
    </xsl:if>
    <xsl:value-of select="$sep"/>
    <xsl:apply-templates select="tei:correspAction[@type='received']"/>
    <xsl:if test="not(tei:correspAction[@type='received'])"><commit_msg>update cmi2csv<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--      * cmi2csv *      -->
<!--         2.1.0         -->
<!--   * programmed by *   -->
<!-- * <NAME> * -->
<xsl:stylesheet xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" exclude-result-prefixes="tei">
  <xsl:output encoding="UTF-8" indent="no" method="text"/>
  <xsl:strip-space elements="*"/>
  <!-- define csv seperator -->
  <xsl:param name="sep" select="','"/>
  <xsl:template match="/">
    <!-- header -->
    <xsl:text>sender</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>senderID</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>senderPlace</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>senderPlaceID</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>senderDate</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>addressee</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>addresseeID</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>addresseePlace</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>addresseePlaceID</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>addresseeDate</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>edition</xsl:text>
    <xsl:value-of select="$sep"/>
    <xsl:text>key</xsl:text>
    <xsl:value-of select="'&#10;'"/>
    <xsl:apply-templates/>
  </xsl:template>
  <xsl:template match="tei:fileDesc"/>
  <xsl:template match="tei:profileDesc">
    <xsl:apply-templates/>
  </xsl:template>
  <xsl:template match="tei:correspDesc">
    <xsl:apply-templates select="tei:correspAction[@type='sent']"/>
    <xsl:if test="not(tei:correspAction[@type='sent'])">
      <xsl:value-of select="concat($sep,$sep,$sep,$sep)"/>
    </xsl:if>
    <xsl:value-of select="$sep"/>
    <xsl:apply-templates select="tei:correspAction[@type='received']"/>
    <xsl:if test="not(tei:correspAction[@type='received'])">
{'fraction_non_alphanumeric': 0.23714552820193208, 'fraction_numerical': 0.012153318790900591, 'mean_word_length': 4.17741935483871, 'pattern_counts': {'":': 0, '<': 94, '<?xml version=': 2, '>': 94, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1241224', 'n_tokens_mistral': 1266, 'n_tokens_neox': 1166, 'n_words': 137}