<commit_before>from __future__ import absolute_import, division, print_function
from simdna import util
from collections import OrderedDict
import numpy as np
import re


class DefaultNameMixin(object):
    """Basic functionality for classes that have a self.name attribute.
    
    The self.name attribute is typically used to leave a trace in
    an instance of :class:`.AdditionalInfo`
    <commit_msg>added missing itertools import<commit_after>from __future__ import absolute_import, division, print_function
from simdna import util
from collections import OrderedDict
import numpy as np
import re
import itertools


class DefaultNameMixin(object):
    """Basic functionality for classes that have a self.name attribute.
    
    The self.name attribute is typically used to leave a trace in
    an instance of :class:`.AdditionalInfo`
    
{'fraction_non_alphanumeric': 0.04491725768321513, 'fraction_numerical': 0.0, 'mean_word_length': 4.572368421052632, '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': '4478446', 'n_tokens_mistral': 213, 'n_tokens_neox': 210, 'n_words': 97}