<commit_before>#!/usr/bin/env python2
# TODO:
# Database (User info, channel stats, quiz, permission levels, alternate nicks)
# Modules: Seen+Tell, RSS+Github, IMDB/TVcal, Twitter, madcow
# Replace logging with syslog
# Add support for channelpasswords
# Maybe use environment variable to get config dir. That way, we can put
# config.py there, too.
# Or use ConfigParser with some tweaks and build the dictionary myself like:
# {sec:dict(cfg.items(sec)) for sec in cfg.sections()}
# Or use JSON.<commit_msg>todo update<commit_after>#!/usr/bin/env python2
# TODO:
# Database (User info, channel stats, quiz, permission levels, alternate nicks)
# Modules: Seen+Tell, RSS+Github, IMDB/TVcal, Twitter, madcow, uptime
# Replace logging with syslog
# Add support for channelpasswords
# Improve config file concept:
#     Maybe use environment variable to get config dir. That way, we can put
#     config.py there, too.
#     Or use ConfigParser with some tweaks and build the dictionary myself like
#     {sec:dict(cfg.items(sec)) for sec in cfg.sections()}.
#     Or use JSON.
# FIXME: admins command (freenode), syslog to .demibot
{'fraction_non_alphanumeric': 0.09840425531914894, 'fraction_numerical': 0.0017730496453900709, 'mean_word_length': 4.589108910891089, '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': '6910194', 'n_tokens_mistral': 344, 'n_tokens_neox': 339, 'n_words': 138}