<commit_before>__author__ = "<NAME>, <NAME>"
import re
import json
import os
import requests
from wtforms import ValidationError
from werkzeug.datastructures import MultiDict
from rdfframework.utilities import fw_config, iri, is_not_null, make_list, \
        remove_null, clean_iri, make_triple, convert_spo_to_dict, \
        render_without_request, code_timer, create_namespace_obj, \
        convert_obj_to_rdf_namespace, pyuri, nouri, uri, pp, iris_to_strings, \
        JSON_LOCATION 
from rdfframework.processors import clean_processors, run_processor
from rdfframework.sparql import get_data
from .rdfproperty import RdfProperty
DEBUG = False
class RdfFramework(object):
    ''' base class for Knowledge Links' Graph database RDF vocabulary
        framework'''

    rdf_class_dict = {}       # stores the Triplestore defined class defintions
    class_initialized = False # used to state if the the class was properly
                              #     initialized with RDF definitions
    rdf_form_dict = {}        # stores the Triplestore defined form definitions
    forms_initialized = False # used to state if the form definitions have
                              #     been initialized
    rdf_app_dict = {}         # stors the the Triplestore definged application
                              #     settings
    app_initialized = False   # states if the application has been initialized
    value_processors = []
    apis_initialized = False

    def __init__(self):
        reset = True
        <commit_msg>assertion api now working 2<commit_after>__author__ = "<NAME>, <NAME>"
import re
import json
import os
import requests
from wtforms import ValidationError
from werkzeug.datastructures import MultiDict
from rdfframework.utilities import fw_config, iri, is_not_null, make_list, \
        remove_null, clean_iri, make_triple, convert_spo_to_dict, \
        render_without_request, code_timer, create_namespace_obj, \
        convert_obj_to_rdf_namespace, pyuri, nouri, uri, pp, iris_to_strings, \
        JSON_LOCATION 
from rdfframework.processors import clean_processors, run_processor
from rdfframework.sparql import get_data
from .rdfproperty import RdfProperty
DEBUG = False
class RdfFramework(object):
    ''' base class for Knowledge Links' Graph database RDF vocabulary
        framework'''

    rdf_class_dict = {}       # stores the Triplestore defined class defintions
    class_initialized = False # used to state if the the class was properly
                              #     initialized with RDF definitions
    rdf_form_dict = {}        # stores the Triplestore defined form definitions
    forms_initialized = False # used to state if the form definitions have
                              #     been initialized
    rdf_app_dict = {}         # stors the the Triplestore definged application
                              #     settings
    app_initialized = False   # states if the application has been initialized
    value_processors = []
    apis_initialized = False

    def __init__(self):
        reset = False
        
{'fraction_non_alphanumeric': 0.05079778573754477, 'fraction_numerical': 0.00032562683165092806, 'mean_word_length': 2.8738965952080706, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5435659', 'n_tokens_mistral': 841, 'n_tokens_neox': 821, 'n_words': 268}