<commit_before>#!/usr/bin/env python
# pypreprocessor.py

__author__ = '<NAME>'
__version__ = '0.6.0'
#modified by hendiol


# changed by hendiol at 18.01.2017: added reset_internal for processing several files after each other
# changed by hendiol at 11.04.2017: trying to get nested #ifdefs handeld

import sys
import os
import traceback
import imp

class preprocessor:
    def __init__(self, inFile=sys.argv[0], outFile='',
                 defines=[], removeMeta=False, escapeChar = '#'):
        # public variables
        self.defines = defines<commit_msg>Further working on<commit_after>#!/usr/bin/env python
# pypreprocessor.py

__author__ = '<NAME>'
__version__ = '0.6.0'
#modified by hendiol


# changed by hendiol at 18.01.2017: added reset_internal for processing several files after each other
# changed by hendiol at 11.04.2017: trying to get nested #ifdefs handeld

#develop nested further

import sys
import os
import traceback
import imp

class preprocessor:
    def __init__(self, inFile=sys.argv[0], outFile='',
                 defines=[], removeMeta=False, escapeChar = '#'):
        # public variables
        self.defines = defines
{'fraction_non_alphanumeric': 0.09965337954939342, 'fraction_numerical': 0.03466204506065858, 'mean_word_length': 3.753086419753086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2103068', 'n_tokens_mistral': 385, 'n_tokens_neox': 350, 'n_words': 116}