<commit_before><commit_msg>Added display functions<commit_after>﻿var GeoText = (function (gt) {
    var localZero = (0).toLocaleString();
    var localDecimalSeparator = (1.1).toLocaleString().charAt(1);
    function zeroPad(value) {
        var string = value.toLocaleString();
        return (value < 10) ? (localZero + string) : string;
    }
    function toFixed(number, precision) {
        var multiplier = Math.pow(10, precision);
        return Math.round(number * multiplier) / multiplier;
    }
    gt.deg2str = function(value, isLatitude) {
        var sign = isLatitude ? (value >= 0 ? 'N' : 'S') : (value >= 0 ? 'E' : 'W');
        value = Math.abs(value);
        var frac = value % 1;
        var deg = (value | 0).toLocaleString();
        var min = zeroPad(frac * 60 | 0);
        var sec = zeroPad(toFixed(frac * 3600 % 60, 3));
        return deg.concat('°', min, "'", sec, '"', sign);
    };
    return gt;
}(GeoText || {}));
{'fraction_non_alphanumeric': 0.16507936507936508, 'fraction_numerical': 0.02433862433862434, 'mean_word_length': 2.6953125, 'pattern_counts': {'":': 0, '<': 4, '<?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': '854227', 'n_tokens_mistral': 321, 'n_tokens_neox': 301, 'n_words': 77}