<commit_before>/**
 * @file Build entity
 * @since 0.1.6
 */
/*#ifndef(UMD)*/
"use strict";
/*global _gpfContext*/ // Resolve contextual string
/*global _gpfEmptyFunc*/ // An empty function
/*global _GpfEntityDefinition*/ // Entity definition
/*global _gpfExtend*/ // gpf.extend
/*#endif*/

_gpfExtend(_GpfEntityDefinition.prototype, /** @lends _GpfEntityDefinition.prototype */ {

    /**
     * Instance builder function (a.k.a. constructor)
     *
     * @type {Function}
     */
    _instanceBuilder: _gpfEmptyFunc,

    /** @gpf:read _instanceBuilder */
    getInstanceBuilder: function () {
        if (!this._instanceBuilder) {
            this.build();
        }
        return this._instanceBuilder;
    },

    /**
     * @gpf:write _instanceBuilder
     * @protected
     */
    _setInstanceBuilder: function (value) {
        if (this._namespace) {
            _gpfContext(this._namespace, true)[this._name] = value;
        }
        this._instanceBuilder = value;
    },

    /** Process initial definition and generate instance builder function */<commit_msg>Documentation<commit_after>/**
 * @file Build entity
 * @since 0.1.6
 */
/*#ifndef(UMD)*/
"use strict";
/*global _GpfEntityDefinition*/ // Entity definition
/*global _gpfContext*/ // Resolve contextual string
/*global _gpfEmptyFunc*/ // An empty function
/*global _gpfExtend*/ // gpf.extend
/*#endif*/

_gpfExtend(_GpfEntityDefinition.prototype, /** @lends _GpfEntityDefinition.prototype */ {

    /**
     * Instance builder function (a.k.a. constructor)
     *
     * @type {Function}
     * @since 0.1.6
     */
    _instanceBuilder: _gpfEmptyFunc,

    /**
     * @gpf:read _instanceBuilder
     * @since 0.1.6
     */
    getInstanceBuilder: function () {
        if (!this._instanceBuilder) {
            this.build();
        }
        return this._instanceBuilder;
    },

    /**
     * @gpf:write _instanceBuilder
     * @protected
     * @since 0.1.6
     */
    _setInstanceBuilder: function (value) {
        if (this._namespace) {
            _gpfContext(this._namespace, true)[this._name] = value;
        }
        this._instanceBuilder = value;
    },

    /**
     * Process initial definition and generate instance builder function
     * @since 0.1.6
     */
{'fraction_non_alphanumeric': 0.13765541740674955, 'fraction_numerical': 0.007992895204262877, 'mean_word_length': 2.3981900452488687, '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': '876365', 'n_tokens_mistral': 688, 'n_tokens_neox': 671, 'n_words': 146}