<commit_before>print('epollproc.lua is lodad')
OnRecvMessage = function( msg )
    local res = string.split(msg,"|");
    local tmp = io.open('tmp.log','w');
    for k,v in pairs(res) do
        print(v);
    end
    tmp.close();
    return 'success';
end<commit_msg>modify script #1<commit_after>-- When mesaage is recved, the fm will call this function.
OnRecvMessage = function( uinfo, request, result )
	local msg = request:getdata("mesaage");
    local res = string.split(msg,"|");
    for k,v in pairs(res) do
        print(v);
    end
	result:setdata("result","success");
end
{'fraction_non_alphanumeric': 0.15120274914089346, 'fraction_numerical': 0.001718213058419244, 'mean_word_length': 3.626984126984127, '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': '3492955', 'n_tokens_mistral': 198, 'n_tokens_neox': 196, 'n_words': 55}