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

from django.template.defaultfilters import slugify as django_slugify
from importlib import import_module
from django.core.exceptions import ImproperlyConfigured
from unidecode import unidecode
from settings import EXTRA_FIELDS, RULES_PATH
from json import loads<commit_msg>Fix Django 1.9 deprecation warning<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.template.defaultfilters import slugify as django_slugify
try:
    from importlib import import_module
except ImportError:  # Django <= 1.8
    from django.utils.importlib import import_module
from django.core.exceptions import ImproperlyConfigured
from unidecode import unidecode
from settings import EXTRA_FIELDS, RULES_PATH
from json import loads
{'fraction_non_alphanumeric': 0.05205811138014528, 'fraction_numerical': 0.007263922518159807, 'mean_word_length': 5.949579831932773, 'pattern_counts': {'":': 0, '<': 4, '<?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': '1754729', 'n_tokens_mistral': 236, 'n_tokens_neox': 228, 'n_words': 80}