<commit_before>from api import send_message
import markovify

def on_msg_received(msg, matches):
    with open("/root/telegram-bot/wordcloud.txt") as f:
        model = markovify.NewlineText(f.read())

    text = model.make_sentence(tries=25)

    chat = msg["chat"]["id"]
    send_message(chat, text)<commit_msg>Atualizando caminho do arquivo de log do /xet<commit_after>from api import send_message
import markovify

def on_msg_received(msg, matches):
    with open("/root/paitons/telegrao-py/data/log.txt") as f:
        model = markovify.NewlineText(f.read())

    text = model.make_sentence(tries=25)

    chat = msg["chat"]["id"]
    send_message(chat, text)
{'fraction_non_alphanumeric': 0.1280120481927711, 'fraction_numerical': 0.006024096385542169, 'mean_word_length': 4.2362204724409445, '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': '3695261', 'n_tokens_mistral': 238, 'n_tokens_neox': 231, 'n_words': 48}