<commit_before>/**
 * @file Helper to capitalize strings
 */
/*#ifndef(UMD)*/
"use strict";
/*exported _gpfStringCapitalize*/ // Capitalize the string
/*#endif*/

/**
 * Capitalize the string
 *
 * @param {String} that
 * @return {String}
 */
function _gpfStringCapitalize (that) {
    return that.charAt(0).toUpperCase() + that.substr(1);
}

/*#ifndef(UMD)*/

gpf.internals._gpfStringCapitalize = _gpfStringCapitalize;

/*#endif*/
<commit_msg>Documentation<commit_after>/**
 * @file Helper to capitalize strings
 */
/*#ifndef(UMD)*/
"use strict";
/*exported _gpfStringCapitalize*/ // Capitalize the string
/*#endif*/

/**
 * Capitalize the string by applying toUpperCase on its first character
 *
 * @param {String} that String to capitalize
 * @return {String} Capitalized string
 */
function _gpfStringCapitalize (that) {
    return that.charAt(0).toUpperCase() + that.substr(1);
}

/*#ifndef(UMD)*/

gpf.internals._gpfStringCapitalize = _gpfStringCapitalize;

/*#endif*/

{'fraction_non_alphanumeric': 0.15794871794871795, 'fraction_numerical': 0.0041025641025641026, 'mean_word_length': 4.5141242937853105, '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': '6506141', 'n_tokens_mistral': 340, 'n_tokens_neox': 339, 'n_words': 78}