<commit_before>from __future__ import division
# -*- coding: utf-8 -*-
import re   # add these 3 lines into TOP-part of  src/class_objectProcessor.py      1. from   2. coding   3. imp re

'''
file /pyBitmessage__torifier/src/class_objectProcessor.py patched   to add a spam filter below line 507 of the original source file.

to modify your pyBM , just (backup and) replace the original class_objectProcessor.py with this patched class_objectProcessor.py
Also delete class_objectProcessor.pyc , it will be recompiled.
'''


<commit_msg>this is the one single file you need to replace in the mainstream pyBM<commit_after>from __future__ import division
# -*- coding: utf-8 -*-
import re   # add these 3 lines into TOP-part of  src/class_objectProcessor.py      1. from   2. coding   3. imp re

'''
file /pyBitmessage__torifier/src/class_objectProcessor.py patched   to add a spam filter below line 507 of the original source file.

to modify your pyBM , just (backup and) replace the original class_objectProcessor.py with this patched class_objectProcessor.py
Also delete class_objectProcessor.pyc , it will be recompiled.

release site:

https://github.com/torifier/PyBitmessage/tree/master/bitmessage-API/spamfilter

'''



{'fraction_non_alphanumeric': 0.07183673469387755, 'fraction_numerical': 0.013061224489795919, 'mean_word_length': 4.024590163934426, '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': '6265339', 'n_tokens_mistral': 366, 'n_tokens_neox': 346, 'n_words': 138}