<commit_before>﻿/* 
 * To Title Case 2.0 – http://individed.com/code/to-title-case/
 * Copyright © 2008–2012 <NAME>. Licensed under the MIT License. 
 */

String.prototype.toTitleCase = function() {
  var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|vs?\.?|via)$/i;

  return this.replace(/([^\W_]+[^\s-]*) */g, function(match, p1, index, title) {<commit_msg>Add space between anon function and parens.<commit_after>﻿/* 
 * To Title Case 2.0 – http://individed.com/code/to-title-case/
 * Copyright © 2008–2012 <NAME>. Licensed under the MIT License. 
 */

String.prototype.toTitleCase = function () {
  var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|vs?\.?|via)$/i;

  return this.replace(/([^\W_]+[^\s-]*) */g, function (match, p1, index, title) {
{'fraction_non_alphanumeric': 0.22040302267002518, 'fraction_numerical': 0.027707808564231738, 'mean_word_length': 4.3, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6565258', 'n_tokens_mistral': 335, 'n_tokens_neox': 308, 'n_words': 63}