<commit_before>if (typeof Handlebars !== 'undefined') {
  Handlebars.registerHelper("pluralize", function(number, word) {
    if (number === 0) { number = 'No' }
    if (number === 1) {
      string = number + " " + InflectionJS.apply_rules(word, InflectionJS.singular_rules, InflectionJS.uncountable_words);
    } else {
      string = number + " " + InflectionJS.apply_rules(word, InflectionJS.plural_rules, InflectionJS.uncountable_words);
    }
    return string;
  });
}<commit_msg>Add a pluralize_word helper<commit_after>if (typeof Handlebars !== 'undefined') {
  Handlebars.registerHelper("pluralize", function(number, word) {
    if (number === 0) { number = 'No' }
    if (number === 1) {
      string = number + " " + InflectionJS.apply_rules(word, InflectionJS.singular_rules, InflectionJS.uncountable_words);
    } else {
      string = number + " " + InflectionJS.apply_rules(word, InflectionJS.plural_rules, InflectionJS.uncountable_words);
    }
    return string;
  });
  
  Handlebars.registerHelper("pluralize_word", function(number, word) {
    if (number === 1) {
      string = InflectionJS.apply_rules(word, InflectionJS.singular_rules, InflectionJS.uncountable_words);
    } else {
      string = InflectionJS.apply_rules(word, InflectionJS.plural_rules, InflectionJS.uncountable_words);
    }
    return string;
  });
}
{'fraction_non_alphanumeric': 0.13392857142857142, 'fraction_numerical': 0.003720238095238095, 'mean_word_length': 4.173076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1611535', 'n_tokens_mistral': 436, 'n_tokens_neox': 426, 'n_words': 76}