<commit_before>Meteor.startup ->
  if Meteor.isClient
    UI.registerHelper 't9n', (x, params) ->
      T9n.get(x, true, params)


class T9n

  @maps: {}
  @defaultLanguage: 'en'
  @language: ''
  @dep: new Deps.Dependency()
  @depLanguage: new Deps.Dependency()
  @missingPrefix = ">"
  @missingPostfix = "<"

  @map: (language, map) ->
    if(!@maps[language]) 
      @maps[language] = {}
    @registerMap(language, '', false, map)<commit_msg>#95: allow parameters in templates to pass<commit_after>Meteor.startup ->
  if Meteor.isClient
    UI.registerHelper 't9n', (x, params) ->
      T9n.get(x, true, params.hash)


class T9n

  @maps: {}
  @defaultLanguage: 'en'
  @language: ''
  @dep: new Deps.Dependency()
  @depLanguage: new Deps.Dependency()
  @missingPrefix = ">"
  @missingPostfix = "<"

  @map: (language, map) ->
    if(!@maps[language]) 
      @maps[language] = {}
    @registerMap(language, '', false, map)
{'fraction_non_alphanumeric': 0.1764069264069264, 'fraction_numerical': 0.008658008658008658, 'mean_word_length': 3.4902912621359223, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4168904', 'n_tokens_mistral': 348, 'n_tokens_neox': 333, 'n_words': 69}