<commit_before>
# This file reads files that are generated by the OPENCOG_ADD_ATOM_TYPES
# macro so they can be imported using:
#
# from type_constructors import *
#
# This imports all the python wrappers for atom creation.
#

from opencog.atomspace import AtomSpace, get_refreshed_types

atomspace = None
def set_type_ctor_atomspace(new_atomspace):
    global atomspace
    atomspace = new_atomspace

# include "opencog/atomspace/core_types.pyx"
include "opencog/nlp/types/nlp_types.pyx"
include "opencog/spacetime/spacetime_types.pyx"
include "opencog/attention/attention_types.pyx"
include "opencog/embodiment/embodiment_types.pyx"

cdef extern :
    void nlp_types_init()

cdef extern :
    void spacetime_types_init()

cdef extern :
    void attention_types_init()

cdef extern :
    void embodiment_types_init()

nlp_types_init()
spacetime_types_init()
attention_types_init()
embodiment_types_init()

types = get_refreshed_types()
<commit_msg>Remove dead code<commit_after>
# This file reads files that are generated by the OPENCOG_ADD_ATOM_TYPES
# macro so they can be imported using:
#
# from type_constructors import *
#
# This imports all the python wrappers for atom creation.
#

from opencog.atomspace import AtomSpace, get_refreshed_types

atomspace = None
def set_type_ctor_atomspace(new_atomspace):
    global atomspace
    atomspace = new_atomspace

include "opencog/nlp/types/nlp_types.pyx"
include "opencog/spacetime/spacetime_types.pyx"
include "opencog/attention/attention_types.pyx"

cdef extern :
    void nlp_types_init()

cdef extern :
    void spacetime_types_init()

cdef extern :
    void attention_types_init()

nlp_types_init()
spacetime_types_init()
attention_types_init()

types = get_refreshed_types()

{'fraction_non_alphanumeric': 0.07151095732410612, 'fraction_numerical': 0.0, 'mean_word_length': 5.547169811320755, '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': '5391726', 'n_tokens_mistral': 602, 'n_tokens_neox': 598, 'n_words': 143}