<commit_before>/*
 * Copyright (c) 2011-2012 by Animatron.
 * All rights are reserved.
 *
 * Animatron player is licensed under the MIT License, see LICENSE.
 */

(function() { // anonymous wrapper to exclude global context clash

var Path = anm.Path;
var Element = anm.Element;
var Text = anm.Text;
var C = anm.C;
var DU = anm.DU;

var MSeg = anm.MSeg, LSeg = anm.LSeg, CSeg = anm.CSeg;

var modCollisions = anm.MODULES['COLLISIONS'];

var __b_cache = {};

// =============================================================================
// === BUILDER =================================================================

// > Builder % ()
function Builder(obj) {
    if (!obj) {
        this.n = '';
        this.v = new Element();
        this.x = this.v.xdata;
    } else if (obj instanceof Element) {
        this.n = obj.name;
        this.v = obj;
        this.x = obj.xdata;
    } else if (obj instanceof Builder) {
        this.n = obj.n;
        this.v = obj.v.clone();
        this.x = this.v.xdata;
    } else if (typeof obj === 'string') {
        this.n = obj;
        this.v = new Element();
        this.v.name = this.n;<commit_msg>comment out collisions module existense check for builder<commit_after>/*
 * Copyright (c) 2011-2012 by Animatron.
 * All rights are reserved.
 *
 * Animatron player is licensed under the MIT License, see LICENSE.
 */

(function() { // anonymous wrapper to exclude global context clash

var Path = anm.Path;
var Element = anm.Element;
var Text = anm.Text;
var C = anm.C;
var DU = anm.DU;

var MSeg = anm.MSeg, LSeg = anm.LSeg, CSeg = anm.CSeg;

//var modCollisions = C.MOD_COLLISIONS; // if defined, module exists

var __b_cache = {};

// =============================================================================
// === BUILDER =================================================================

// > Builder % ()
function Builder(obj) {
    if (!obj) {
        this.n = '';
        this.v = new Element();
        this.x = this.v.xdata;
    } else if (obj instanceof Element) {
        this.n = obj.name;
        this.v = obj;
        this.x = obj.xdata;
    } else if (obj instanceof Builder) {
        this.n = obj.n;
        this.v = obj.v.clone();
        this.x = this.v.xdata;
    } else if (typeof obj === 'string') {
        this.n = obj;
        this.v = new Element();
        this.v.name = this.n;
{'fraction_non_alphanumeric': 0.24893977947413062, 'fraction_numerical': 0.006785411365564037, 'mean_word_length': 2.601526717557252, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3164656', 'n_tokens_mistral': 765, 'n_tokens_neox': 733, 'n_words': 212}