<commit_before>'use strict';
if ('undefined' != typeof require) {
    /* Node */
    var jed = require('jed');
    var jedGettextParser = require('../jedGettextParser');
    var Promise = require('promise');
    var fs = require('fs');
}

function load(url) {
    return new Promise(function(resolve, reject){
        if (typeof XMLHttpRequest != "undefined") {
            /* Browser */
            var xhr = new XMLHttpRequest();
            xhr.open('GET', url);<commit_msg>Fixed Jed not defined.<commit_after>'use strict';
if ('undefined' != typeof require) {
    /* Node */
    var Jed = require('jed');
    var jedGettextParser = require('../jedGettextParser');
    var Promise = require('promise');
    var fs = require('fs');
}

function load(url) {
    return new Promise(function(resolve, reject){
        if (typeof XMLHttpRequest != "undefined") {
            /* Browser */
            var xhr = new XMLHttpRequest();
            xhr.open('GET', url);
{'fraction_non_alphanumeric': 0.15680166147455868, 'fraction_numerical': 0.0, 'mean_word_length': 2.722007722007722, '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': '6836692', 'n_tokens_mistral': 270, 'n_tokens_neox': 271, 'n_words': 74}