<commit_before>if exists('g:venom_sourced') || &cp
    finish
endif
let g:venom_sourced = 1

let s:sfile = expand("<sfile>")

function! venom#Load()
    if exists('g:venom_loaded')
        return
    endif
    let g:venom_loaded = 1

py << END_PY
import sys
import os

sys.path.append(os.path.dirname(vim.eval("s:sfile")))

import venom

sys.path.remove(os.path.dirname(vim.eval("s:sfile")))
END_PY
endfunction<commit_msg>venom: importing vim in Venom#Load for good measure (#1).<commit_after>if exists('g:venom_sourced') || &cp
    finish
endif
let g:venom_sourced = 1

let s:sfile = expand("<sfile>")

function! venom#Load()
    if exists('g:venom_loaded')
        return
    endif
    let g:venom_loaded = 1

py << END_PY
import sys
import os
import vim

sys.path.append(os.path.dirname(vim.eval("s:sfile")))

import venom

sys.path.remove(os.path.dirname(vim.eval("s:sfile")))
END_PY
endfunction
{'fraction_non_alphanumeric': 0.1446051167964405, 'fraction_numerical': 0.0055617352614015575, 'mean_word_length': 4.487804878048781, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1258209', 'n_tokens_mistral': 361, 'n_tokens_neox': 342, 'n_words': 73}