<commit_before>
try:
    from pysqlite2 import dbapi2 as sqlite3
except ImportError:
    import sqlite3

print(sqlite3.__file__)

con = sqlite3.connect(':memory:')

con.enable_load_extension(True)

con.load_extension('libspatialite')<commit_msg>enabled option to load mod_spatialite instead of libspatialite<commit_after>
try:
    from pysqlite2 import dbapi2 as sqlite3
except ImportError:
    import sqlite3

print(sqlite3.__file__)

con = sqlite3.connect(':memory:')

con.enable_load_extension(True)

try:
    con.load_extension('mod_spatialite')
except sqlite3.OperationalError:
    con.load_extension('libspatialite')
{'fraction_non_alphanumeric': 0.09003215434083602, 'fraction_numerical': 0.02090032154340836, 'mean_word_length': 6.079545454545454, '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': '5194771', 'n_tokens_mistral': 222, 'n_tokens_neox': 209, 'n_words': 44}