<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import print_function, unicode_literals

import argparse
import copy
import collections
import glob
import itertools
import os, os.path
import re
import shlex
import subprocess
import sys
import textwrap

from pprint import pprint, pformat # pylint: disable-msg=unused-import

__version__ = '0.5'

class FFPluginError(Exception):
    pass


class FFPlugin(dict):
    """ Wrapper for custoom plugin.

        Loads module, read data, bind custom argument and allow to easy run plugin.
    """
    def __init__(self, name, type_, **kw):
        """ Initializer.<commit_msg>documentation got FFPluginError<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import print_function, unicode_literals

import argparse
import copy
import collections
import glob
import itertools
import os, os.path
import re
import shlex
import subprocess
import sys
import textwrap

from pprint import pprint, pformat # pylint: disable-msg=unused-import

__version__ = '0.5'

class FFPluginError(Exception):
    """ Exception class for plugins.
    """
    pass


class FFPlugin(dict):
    """ Wrapper for custoom plugin.

        Loads module, read data, bind custom argument and allow to easy run plugin.
    """
    def __init__(self, name, type_, **kw):
        """ Initializer.
{'fraction_non_alphanumeric': 0.09037472446730345, 'fraction_numerical': 0.00440852314474651, 'mean_word_length': 3.8642857142857143, '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': '383489', 'n_tokens_mistral': 409, 'n_tokens_neox': 396, 'n_words': 143}