<commit_before>'use strict';

const GtfsGenerator = require('../lib/GtfsGenerator');

/* Invoke the generator based on environment variables. */
GtfsGenerator.fromEnvironmentVariables().generate('output_data');<commit_msg>Allow output path to be changed when invoking with envir variables<commit_after>'use strict';

const GtfsGenerator = require('../lib/GtfsGenerator');

/* Invoke the generator based on environment variables. */
var path = process.argv.length < 3 ? 'output_data' : process.argv[2];
GtfsGenerator.fromEnvironmentVariables().generate(path);
{'fraction_non_alphanumeric': 0.12544802867383512, 'fraction_numerical': 0.0035842293906810036, 'mean_word_length': 6.355263157894737, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '5352545', 'n_tokens_mistral': 152, 'n_tokens_neox': 149, 'n_words': 41}