<commit_before><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:ddw="http://datadryad.org/api/v1/widgets/display"
    xmlns:csv="http://apache.org/cocoon/csv/1.0"
    xmlns:math="http://exslt.org/math"
    exclude-result-prefixes="xhtml ddw math csv"
    version="1.0">
        
    <xsl:template name="text-csv">
        <html>
            <head>
                <title>Dryad Data</title>
                <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
                <script type="text/javascript" src="http://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script>
                <style type="text/css">
                    .sorting, .sorting_asc, .sorting_desc {
                        background : none !important;
                </style>
                <link type="text/css" rel="stylesheet" href="http://cdn.datatables.net/1.10.2/css/jquery.dataTables.css"></link>
            </head>
            <body>
                <xsl:variable name="colmax" select="math:max(//csv:record/csv:field/@number)"/>
                <!-- <table id="example" class="compact hover" cellspacing="0" width="100%"></table> -->
                <table id="table" class="display" cellspacing="0" width="100%">
                    <!-- 
                        TODO: determine whether table heads can be inferred, either
                        here or in the Text/CSV converter. 
                    -->
                    <!--
                    <thead>
                        <tr>
                            <xsl:call-template name="csv-col2table">
                                <xsl:with-param name="row" select="//csv:record[@number='1']"/>
                                <xsl:with-param name="colmax" select="$colmax"/>
                                <xsl:with-param name="colcurrent" select="1"/>
                                <xsl:with-param name="elt" select="'th'"/>
                            </xsl:call-template>
                        </tr>
                    </thead><commit_msg>for csv bitstream handler, use dryad-ddw stylesheets to bring in widget font<commit_after><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:ddw="http://datadryad.org/api/v1/widgets/display"
    xmlns:csv="http://apache.org/cocoon/csv/1.0"
    xmlns:math="http://exslt.org/math"
    exclude-result-prefixes="xhtml ddw math csv"
    version="1.0">
        
    <xsl:template name="text-csv">
        <html>
            <head>
                <title>Dryad Data</title>
                <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
                <script type="text/javascript" src="http://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script>
                <style type="text/css">
                    .sorting, .sorting_asc, .sorting_desc {
                        background : none !important;
                    }
                </style>
                <link type="text/css" rel="stylesheet" href="http://cdn.datatables.net/1.10.2/css/jquery.dataTables.css"></link>
                <link type="text/css" rel="stylesheet" href="{$ddwcss}"></link>
            </head>
            <body class="dryad-ddw">
                <xsl:variable name="colmax" select="math:max(//csv:record/csv:field/@number)"/>
                <!-- <table id="example" class="compact hover" cellspacing="0" width="100%"></table> -->
                <table id="table" class="display" cellspacing="0" width="100%">
                    <!-- 
                        TODO: determine whether table heads can be inferred, either
                        here or in the Text/CSV converter. 
                    -->
                    <!--
                    <thead>
                        <tr>
                            <xsl:call-template name="csv-col2table">
                                <xsl:with-param name="row" select="//csv:record[@number='1']"/>
                                <xsl:with-param name="colmax" select="$colmax"/>
                                <xsl:with-param name="colcurrent" select="1"/>
                                <xsl:with-param name="elt" select="'th'"/>
                            </xsl:call-template>
                        </tr>
                    </thead>
{'fraction_non_alphanumeric': 0.1613762486126526, 'fraction_numerical': 0.018201997780244172, 'mean_word_length': 1.5117056856187292, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 2, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 12}, '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': '3409102', 'n_tokens_mistral': 1395, 'n_tokens_neox': 1257, 'n_words': 193}