def print_stats(self, stats):
    print('\nCleaning statistics:')
    print('Total original length (chars) = {}'.format(stats['total_original_length']))
    print('Total length after cleaning (chars) = {}'.format(stats['total_clean_length']))
    print('Percent data kept = {:.3f} %'.format(((100.0 * stats['total_clean_length']) / stats['total_original_length'])))
    print('Skipped because line length was below minimum (lines/chars): {} '.format(stats['skipped_because_min_length']))
    print('Skipped because line had forbidden characters (lines/chars): {} '.format(stats['skipped_because_forbidden_chars']))
    print('Skipped because alpha count was below minimum (lines/chars): {} '.format(stats['skipped_alpha_count']))
    print('Skipped because digit count was above maximum (lines/chars): {} '.format(stats['skipped_because_max_numeric']))
    print('Skipped because too many non-ascii characters (lines/chars): {} '.format(stats['skipped_because_max_non_ascii']))
def print_stats(self, stats):
    print('\nCleaning statistics:')
    print('Total original length (chars) = {}'.format(stats['total_original_length']))
    print('Total length after cleaning (chars) = {}'.format(stats['total_clean_length']))
    print('Percent data kept = {:.3f} %'.format(((100.0 * stats['total_clean_length']) / stats['total_original_length'])))
    print('Skipped because line length was below minimum (lines/chars): {} '.format(stats['skipped_because_min_length']))
    print('Skipped because line had forbidden characters (lines/chars): {} '.format(stats['skipped_because_forbidden_chars']))
    print('Skipped because alpha count was below minimum (lines/chars): {} '.format(stats['skipped_alpha_count']))
    print('Skipped because digit count was above maximum (lines/chars): {} '.format(stats['skipped_because_max_numeric']))
    print('Skipped because too many non-ascii characters (lines/chars): {} '.format(stats['skipped_because_max_non_ascii']))