<commit_before>/*  dsv-loader: a dsv loader for webpack
    built using dsv by <NAME> */

var loaderUtils = require("loader-utils");
var dsv = require('dsv');

module.exports = function(text) {

  var query = loaderUtils.parseQuery(this.query),
      delimiter = query.delimiter || ',';
  
  var parser = dsv(delimiter);

  var res = parser.parse(text);

  return "module.exports = " + JSON.stringify(res, undefined, "\t");
}<commit_msg>remove vars<commit_after>/*  dsv-loader: a dsv loader for webpack
    built using dsv by <NAME> */

var loaderUtils = require("loader-utils");
var dsv = require('dsv');

module.exports = function(text) {

  var query = loaderUtils.parseQuery(this.query),
      delimiter = query.delimiter || ',',
      parser = dsv(delimiter),
      res = parser.parse(text);

  return "module.exports = " + JSON.stringify(res, undefined, "\t");
}
{'fraction_non_alphanumeric': 0.1543778801843318, 'fraction_numerical': 0.0, 'mean_word_length': 3.7747252747252746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1604411', 'n_tokens_mistral': 283, 'n_tokens_neox': 277, 'n_words': 71}