<commit_before>import os
if os.name == 'nt':
    # Manually load dlls before loading the extension modules.
    # This is handled via rpaths on Unix based systems.
    from ctypes import cdll
    import os.path
    # If libdynd.dll is already on the path, use it.
    try:
        # The default dll search order should give precedence to copies of
        # libdynd in the same directory as this file.
        cdll.LoadLibrary('libdynd.dll')
    except OSError:
        # Try to load it from the Program Files directories where libdynd
        # installs by default. This matches the search path for libdynd used
        # in the CMake build for dynd-python.
        import sys
        is_64_bit = sys.maxsize > 2**32
        processor_arch = os.environ.get('PROCESSOR_ARCHITECTURE')<commit_msg>Make sure that libdynd.dll is pre-loaded when libdynd and libdyndt are installed in the same place as the Python module.<commit_after>import os
if os.name == 'nt':
    # Manually load dlls before loading the extension modules.
    # This is handled via rpaths on Unix based systems.
    from ctypes import cdll
    import os.path
    # If libdynd.dll is already on the path, use it.
    try:
        # The default dll search order should give precedence to copies of
        # libdynd in the same directory as this file.
        cdll.LoadLibrary('libdyndt.dll')
        cdll.LoadLibrary('libdynd.dll')
    except OSError:
        # Try to load it from the Program Files directories where libdynd
        # installs by default. This matches the search path for libdynd used
        # in the CMake build for dynd-python.
        import sys
        is_64_bit = sys.maxsize > 2**32
        processor_arch = os.environ.get('PROCESSOR_ARCHITECTURE')
{'fraction_non_alphanumeric': 0.059263521288837745, 'fraction_numerical': 0.005753739930955121, 'mean_word_length': 2.653361344537815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '60424', 'n_tokens_mistral': 512, 'n_tokens_neox': 491, 'n_words': 209}