<commit_before>"""PMML Scorecard generator"""

from collections import namedtuple
import itertools
import os.path
import string
from lxml import etree

__version__ = "0.3"

__all__ = ["pmml_scorecard"]

# Public API<commit_msg>Export generate_scorecards<commit_after>"""PMML Scorecard generator"""

from collections import namedtuple
import itertools
import os.path
import string
from lxml import etree
import tabulate

__version__ = "0.3"

__all__ = ["pmml_scorecard", "generate_scorecards"]

# Public API
{'fraction_non_alphanumeric': 0.08498023715415019, 'fraction_numerical': 0.007905138339920948, 'mean_word_length': 6.567164179104478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1628941', 'n_tokens_mistral': 155, 'n_tokens_neox': 156, 'n_words': 49}