<commit_before>#!/usr/bin/env python
"""
:Author <NAME>
:Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy

"""

from .GrammpyException import GrammpyException


class NotNonterminalException(GrammpyException):
    pass<commit_msg>Implement NotNonterminalEception __init__ method and pass object<commit_after>#!/usr/bin/env python
"""
:Author <NAME>
:Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy

"""
from typing import Any

from .GrammpyException import GrammpyException


class NotNonterminalException(GrammpyException):
    def __init__(self, parameter, *args: Any) -> None:
        super().__init__(*args)
        self.object = parameter
{'fraction_non_alphanumeric': 0.10486322188449848, 'fraction_numerical': 0.03951367781155015, 'mean_word_length': 5.101851851851852, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '2641601', 'n_tokens_mistral': 241, 'n_tokens_neox': 214, 'n_words': 55}