<commit_before># -*- coding: utf-8 -*-
"""
For usage instructions, see:
    https://kolibri-dev.readthedocs.io/en/develop/references/i18n.html
"""
import argparse
import base64
import io
import json
import logging
import mimetypes
import os
import re<commit_msg>py2 compatibility for fonts.py<commit_after># -*- coding: utf-8 -*-
"""
For usage instructions, see:
    https://kolibri-dev.readthedocs.io/en/develop/references/i18n.html
"""

from __future__ import unicode_literals

import argparse
import base64
import io
import json
import logging
import mimetypes
import os
import re
{'fraction_non_alphanumeric': 0.10806174957118353, 'fraction_numerical': 0.018867924528301886, 'mean_word_length': 4.669902912621359, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3482791', 'n_tokens_mistral': 195, 'n_tokens_neox': 188, 'n_words': 54}