<commit_before>from __future__ import print_function
import six
# TODO - Add doc strings


#-----------------------------------------------------------------------------#
# Helper Functions
#-----------------------------------------------------------------------------#
def _prompt_for_input(message):
    text_prompt(message, ' ')
    return six.moves.input()


#-----------------------------------------------------------------------------#
# Text Output
#-----------------------------------------------------------------------------#
def _text_out(colour_code, message, end):
    print("\x1b[{}m{}\x1b[0m".format(colour_code, message), end=end)

def text_prompt(message, end="\n"):
    _text_out(33, message, end)


def text_info(message, end="\n"):
    _text_out(37, message, end)


def text_success(message, end="\n"):
    _text_out(32, message, end)

<commit_msg>Using six for printing. Since we are importing six anyway might as well use it for printing rather than importing future stuff too.<commit_after>import six
# TODO - Add doc strings


#-----------------------------------------------------------------------------#
# Helper Functions
#-----------------------------------------------------------------------------#
def _prompt_for_input(message):
    text_prompt(message, ' ')
    return six.moves.input()


#-----------------------------------------------------------------------------#
# Text Output
#-----------------------------------------------------------------------------#
def _text_out(colour_code, message, end):
    six.print_("\x1b[{}m{}\x1b[0m".format(colour_code, message), end=end)

def text_prompt(message, end="\n"):
    _text_out(33, message, end)


def text_info(message, end="\n"):
    _text_out(37, message, end)


def text_success(message, end="\n"):
    _text_out(32, message, end)


{'fraction_non_alphanumeric': 0.4339001645639057, 'fraction_numerical': 0.009873834339001646, 'mean_word_length': 1.1923076923076923, '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': '2045013', 'n_tokens_mistral': 472, 'n_tokens_neox': 440, 'n_words': 106}