<commit_before>;
; Opencog atom-types module
;
(define-module (opencog atom-types))

; Alternately, we could also have
; (define-module (opencog atomtypes nlp-types))
; (define-module (opencog atomtypes spacetime-types))
; and so on, but I don't see the point of that, at the moment...

; (setenv "LTDL_LIBRARY_PATH" "/usr/local/lib/opencog:/usr/local/lib/opencog/modules")<commit_msg>Add a work-around for python flakiness<commit_after>;
; Opencog atom-types module
;
(define-module (opencog atom-types))

; Alternately, we could also have
; (define-module (opencog atomtypes nlp-types))
; (define-module (opencog atomtypes spacetime-types))
; and so on, but I don't see the point of that, at the moment...

; XXX Python bug work-around -- python is unable to locate shared
; libraries.  Work around this here, by explicitly setting the
; library path, and the scheme file search path. This is NOT needed
; by the scheme code; but python croaks without this. Go figure...
(setenv "LD_LIBRARY_PATH" "/usr/local/lib/opencog:/usr/local/lib/opencog/modules")
(add-to-load-path "/usr/local/share/opencog/scm")
{'fraction_non_alphanumeric': 0.12126696832579185, 'fraction_numerical': 0.0, 'mean_word_length': 4.502487562189055, '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': '4606679', 'n_tokens_mistral': 369, 'n_tokens_neox': 358, 'n_words': 122}