<commit_before>urlify = require('./urlify')
{ find, map } = require('lodash')

module.exports = class i18Tools

  constructor: (@locales, @baseLocale, @baseLocaleAsRoot) ->
    return

  ###*
   * Return locale's properties
   * @param  {object} = @locales locales Special Kotsu object with info about locales
   * @return {string} Props of locale
  ###
  getLocalesNames: (locales = @locales) =>
    map(locales, 'locale')
<commit_msg>[module] fix comment<commit_after>urlify = require('./urlify')
{ find, map } = require('lodash')

module.exports = class i18Tools

  constructor: (@locales, @baseLocale, @baseLocaleAsRoot) ->
    return

  ###*
   * Return list of locales names
   * @param  {object} = @locales locales Special Kotsu object with info about locales
   * @return {string} Props of locale
  ###
  getLocalesNames: (locales = @locales) =>
    map(locales, 'locale')

{'fraction_non_alphanumeric': 0.13961407491486946, 'fraction_numerical': 0.004540295119182747, 'mean_word_length': 4.098265895953757, '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': '5686758', 'n_tokens_mistral': 292, 'n_tokens_neox': 281, 'n_words': 78}