<commit_before>#! /usr/bin/env python

import praw
import re
import os

def reply(comment, text):
    text += "\n\n Got any problems with this bot? Message /u/faerbit"
    print("Replying:")
    print(text)
    comment.reply(text)
    already_done.add(comment.id)

user_agent=("Non-mobile link 0.1 by /u/faerbit")
r = praw.Reddit(user_agent=user_agent)
already_done = set()
find_expression = re.compile("https?://[a-zA-Z]*\.m\.wikipedia\.org/wiki/[a-zA-Z0-9_#%]*")<commit_msg>Changed disclaimer<commit_after>#! /usr/bin/env python

import praw
import re
import os

def reply(comment, text):
    text += "\n\n ^Got ^any ^problems/suggestions ^with ^this ^bot? ^Message ^/u/faerbit ^or ^check ^out ^the ^[code](https://github.com/Faerbit/non-mobile-link)!"
    print("Replying:")
    print(text)
    comment.reply(text)
    already_done.add(comment.id)

user_agent=("Non-mobile link 0.1 by /u/faerbit")
r = praw.Reddit(user_agent=user_agent)
already_done = set()
find_expression = re.compile("https?://[a-zA-Z]*\.m\.wikipedia\.org/wiki/[a-zA-Z0-9_#%]*")
{'fraction_non_alphanumeric': 0.18363463368220742, 'fraction_numerical': 0.007611798287345386, 'mean_word_length': 4.182266009852217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2420575', 'n_tokens_mistral': 424, 'n_tokens_neox': 401, 'n_words': 79}