<commit_before>const models = require('./models')
exports = module.exports = models

// exports = models is deprecated
exports.models = models.slice()
exports.dictionaries = lang => {
  try {
    return require('./dictionary_' + lang + '.json')
  } catch (err) {
    // return require('./dictionary_en.json')
  }
}

exports.dict = {
  // en: require('./dictionary_en.json'),
  nl: require('./dictionary_nl.json')
}
// exports.formDefaults = require('./data/formDefaults.json')
exports.data = require('./data/data')
exports.currencies = require('./data/tradle.Currency.json')
exports.nationalities = require('./data/tradle.Nationality.json')
exports.countries = require('./data/tradle.Country.json')<commit_msg>Revert "fix .models export"<commit_after>const models = require('./models')
exports = module.exports = models

// exports = models is deprecated
exports.models = models
exports.dictionaries = lang => {
  try {
    return require('./dictionary_' + lang + '.json')
  } catch (err) {
    // return require('./dictionary_en.json')
  }
}

exports.dict = {
  // en: require('./dictionary_en.json'),
  nl: require('./dictionary_nl.json')
}
// exports.formDefaults = require('./data/formDefaults.json')
exports.data = require('./data/data')
exports.currencies = require('./data/tradle.Currency.json')
exports.nationalities = require('./data/tradle.Nationality.json')
exports.countries = require('./data/tradle.Country.json')
{'fraction_non_alphanumeric': 0.182328190743338, 'fraction_numerical': 0.0, 'mean_word_length': 4.0964285714285715, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5459841', 'n_tokens_mistral': 440, 'n_tokens_neox': 423, 'n_words': 78}