<commit_before># -*- coding: utf-8 -*-
'''
Created on Mar 3, 2017

@author: hustcc
'''
from functools import wraps
from threading import Thread
import json
import click
import datetime
import copy
from webhookit import app


if unicode:  # noqa
    # py2
    the_unicode = unicode  # noqa
else:  # noqa
    # py3
    the_unicode = str  # noqa

<commit_msg>Update utils.py<commit_after># -*- coding: utf-8 -*-
'''
Created on Mar 3, 2017

@author: hustcc
'''
from functools import wraps
from threading import Thread
import json
import click
import datetime
import copy
from webhookit import app


try:
    unicode  # noqa
except NameError:
    # py3
    the_unicode = str  # noqa
else:  # noqa
    # py2
    the_unicode = unicode  # noqa


{'fraction_non_alphanumeric': 0.08683853459972862, 'fraction_numerical': 0.021709633649932156, 'mean_word_length': 3.169491525423729, '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': '4967513', 'n_tokens_mistral': 267, 'n_tokens_neox': 242, 'n_words': 89}