<commit_before>from __future__ import print_function

from telegram.ext import MessageHandler, Filters
from textblob import TextBlob

from myTelegramBot.PluginSystem import BasePlugin


class HelloFilter(Filters):
    def __init__(self):
        super(HelloFilter, self).__init__()

    @staticmethod
    def text(message):
        blob = TextBlob(message.text)
        if 'ciao' in blob.tokens.lower() and 'racbot' in blob.tokens.lower():
            return message.text
        return None


class EventsFilter(Filters):
    def __init__(self):
        super(EventsFilter, self).__init__()<commit_msg>Fixing missing import inside rac_plugin.py<commit_after>from __future__ import print_function

from telegram.ext import MessageHandler, Filters
from textblob import TextBlob

from myTelegramBot.libs.gcal import GoogleCalendar

from myTelegramBot.PluginSystem import BasePlugin


class HelloFilter(Filters):
    def __init__(self):
        super(HelloFilter, self).__init__()

    @staticmethod
    def text(message):
        blob = TextBlob(message.text)
        if 'ciao' in blob.tokens.lower() and 'racbot' in blob.tokens.lower():
            return message.text
        return None


class EventsFilter(Filters):
    def __init__(self):
        super(EventsFilter, self).__init__()
{'fraction_non_alphanumeric': 0.08313908313908314, 'fraction_numerical': 0.0, 'mean_word_length': 3.6836363636363636, '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': '652333', 'n_tokens_mistral': 364, 'n_tokens_neox': 360, 'n_words': 99}