<commit_before># $Id: moduleBase.py,v 1.5 2003/02/03 10:53:06 cpbotha Exp $

"""Module containing base class for dscas3 modules.

author: <NAME> <<EMAIL>>
"""

class moduleBase:
    """Base class for all modules.

    Any module wishing to take part in the dscas3 party will have to offer all
    of these methods.
    """
    
    def __init__(self, moduleManager):
        """We need to know where the module manager is so we can query
        it about the module path, e.g.
        """
        self._moduleManager = moduleManager

        class defaultConfigClass:
            pass<commit_msg>Added to comments.<commit_after># $Id: moduleBase.py,v 1.6 2003/02/06 16:22:58 cpbotha Exp $

"""Module containing base class for dscas3 modules.

author: <NAME> <<EMAIL>>
"""

class moduleBase:
    """Base class for all modules.

    Any module wishing to take part in the dscas3 party will have to offer all
    of these methods.
    """
    
    def __init__(self, moduleManager):
        """Perform your module initialisation here.

        Please also call this init method
        (i.e. moduleBase.__init__(self)).  In your own __init__, you
        should create your view and show it to the user.

        """
        self._moduleManager = moduleManager

        class defaultConfigClass:
            pass
{'fraction_non_alphanumeric': 0.08785332314744079, 'fraction_numerical': 0.02750190985485103, 'mean_word_length': 2.5597826086956523, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '709684', 'n_tokens_mistral': 401, 'n_tokens_neox': 368, 'n_words': 150}