<commit_before>/**
 * 基本的函数，包括Webster 及 在线词源的获取
 * @user Joseph
 */

var etho_pre_url = 'http://www.etymonline.com/index.php?term=';

var keys = [
'<KEY>',
'<KEY>',
'e8e77e77-6c9d-4ce7-903a-9b9ad3246fd8',
'<KEY>',
'a232cef0-720f-414c-a27e-a32648bbc977',
'b0d3d18c-cd69-46ca-bb62-bd5280ae87a7',
'3d539f77-ab91-4839-8ba4-120776fc566e',
'9ce488d2-5924-437a-a718-29f0749bd8c6',
'5fa8f2c0-0fa5-44a8-a1f2-7d37a0f8e987',
'762c2f8c-87ac-481e-ba21-5ae6ebd85b21',
'<KEY>',
'0627fb80-2ae7-4ce1-82e1-c2a0bcdf3317',
'45b94f06-9d11-4049-9a23-ab80f95dd57e'
];

function ls(callback) {
    chrome.runtime.sendMessage({method: "getLocalStorage"}, function (response) {
        console.info(response);
        if (undefined != response)
            for (var k in response.data)
                localStorage[k] = response.data[k];
        if(undefined != callback){
            callback();
        }
    });
    return localStorage;
}<commit_msg>add key from Jingyu<commit_after>/**
 * 基本的函数，包括Webster 及 在线词源的获取
 * @user Joseph
 */

var etho_pre_url = 'http://www.etymonline.com/index.php?term=';

var keys = [
'<KEY>',
'<KEY>',
'e8e77e77-6c9d-4ce7-903a-9b9ad3246fd8',
'd283a343-d2ba-45fb-b3b7-fd542a0c25c8',
'a232cef0-720f-414c-a27e-a32648bbc977',
'b0d3d18c-cd69-46ca-bb62-bd5280ae87a7',
'3d539f77-ab91-4839-8ba4-120776fc566e',
'9ce488d2-5924-437a-a718-29f0749bd8c6',
'5fa8f2c0-0fa5-44a8-a1f2-7d37a0f8e987',
'762c2f8c-87ac-481e-ba21-5ae6ebd85b21',
'30de8a01-22b1-446b-b51a-2b0c62fdefdc',
'0627fb80-2ae7-4ce1-82e1-c2a0bcdf3317',
'd9b1eeac-4a10-42b3-8683-70a17bbe04af',
'45b94f06-9d11-4049-9a23-ab80f95dd57e'
];

function ls(callback) {
    chrome.runtime.sendMessage({method: "getLocalStorage"}, function (response) {
        console.info(response);
        if (undefined != response)
            for (var k in response.data)
                localStorage[k] = response.data[k];
        if(undefined != callback){
            callback();
        }
    });
    return localStorage;
}
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.21049949031600407, 'mean_word_length': 3.730120481927711, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1114701', 'n_tokens_mistral': 1137, 'n_tokens_neox': 977, 'n_words': 96}