<commit_before>_ = require 'underscore'
fs = require 'fs'
Csv = require 'csv'
Validator = require '../lib/Validator'
ExportMapping = require '../lib/exportmapping'
Q = require 'q'
prompt = require 'prompt'
SphereClient = require 'sphere-node-client'

class Exporter

  constructor: (options = {}) ->
    @queryString = options.queryString
    @client = new SphereClient options if options.config

  export: (templateContent, outputFile) ->
    deferred = Q.defer()<commit_msg>Fix case of require.<commit_after>_ = require 'underscore'
fs = require 'fs'
Csv = require 'csv'
Validator = require '../lib/validator'
ExportMapping = require '../lib/exportmapping'
Q = require 'q'
prompt = require 'prompt'
SphereClient = require 'sphere-node-client'

class Exporter

  constructor: (options = {}) ->
    @queryString = options.queryString
    @client = new SphereClient options if options.config

  export: (templateContent, outputFile) ->
    deferred = Q.defer()
{'fraction_non_alphanumeric': 0.12825860271115747, 'fraction_numerical': 0.0, 'mean_word_length': 4.245901639344262, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4197264', 'n_tokens_mistral': 288, 'n_tokens_neox': 278, 'n_words': 84}