<commit_before>from mako.template import Template

class Translation(object):
    template = Template("""% for child in children:
${child.serialize()}
% endfor""")    

    
    def __init__(self):
        self.children = []
        
    def __str__(self):<commit_msg>@translation parallel en project was missing, it's left hardcoded by now, but this will be improved later on.<commit_after>from mako.template import Template

class Translation(object):
# TODO: the type of translation (parallel, labelled,  is going to be recorded as text metadata 
# (like the atf protocols, etc), as it's a property of the textual representation 
# and not the object itself. Left "parallel" hardcoded by now.
    template = Template("""@translation parallel en project
% for child in children:
${child.serialize()}
% endfor""")    

    
    def __init__(self):
        self.children = []
        
    def __str__(self):
{'fraction_non_alphanumeric': 0.10143329658213891, 'fraction_numerical': 0.0, 'mean_word_length': 3.562814070351759, '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': '4711701', 'n_tokens_mistral': 250, 'n_tokens_neox': 241, 'n_words': 95}