<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

import unicodedata
import re
import sys

# Adjust names that have changed in Python 3
if sys.version_info.major == 3:
    from html import entities as htmlentitydefs
    unichr = chr
else:<commit_msg>changed version check to work on python 2.6<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

import unicodedata
import re
import sys

# Adjust names that have changed in Python 3
if sys.version_info[0] >= 3:
    from html import entities as htmlentitydefs
    unichr = chr
else:
{'fraction_non_alphanumeric': 0.07155025553662692, 'fraction_numerical': 0.015332197614991482, 'mean_word_length': 4.068965517241379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6967937', 'n_tokens_mistral': 186, 'n_tokens_neox': 176, 'n_words': 72}