<commit_before># <NAME> <<EMAIL>>

##____________________________________________________________________________||
class ComponentReaderBundle(object):

    def __init__(self):
        self.readers = [ ]

    def addReader(self, reader):
        self.readers.append(reader)

    def begin(self):
        for reader in self.readers:
            reader.begin()

    def read(self, component):
        for reader in self.readers:
            reader.read(component)

    def end(self):
        return [reader.end() for reader in self.readers]

##____________________________________________________________________________||<commit_msg>shorten rules in comments in ComponentReaderBundle<commit_after># <NAME> <<EMAIL>>

##__________________________________________________________________||
class ComponentReaderBundle(object):

    def __init__(self):
        self.readers = [ ]

    def addReader(self, reader):
        self.readers.append(reader)

    def begin(self):
        for reader in self.readers:
            reader.begin()

    def read(self, component):
        for reader in self.readers:
            reader.read(component)

    def end(self):
        return [reader.end() for reader in self.readers]

##__________________________________________________________________||
{'fraction_non_alphanumeric': 0.09664848012470771, 'fraction_numerical': 0.0, 'mean_word_length': 3.5211267605633805, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7312548', 'n_tokens_mistral': 309, 'n_tokens_neox': 298, 'n_words': 75}