<commit_before>#! /bin/sh
#
# Load all required scm bits and prieces in order to extract triples
#
# Load the generic scm bits
pushd ../../scm
./load3.sh
popd

# Load the NLP scm bits
pushd ../scm
./load-nlp-3.sh
popd

# Load the preposition dictionary
cat prep-maps.scm | netcat -q0 localhost 17003

# Load add rules
cat rules.txt | ./rules-to-implications.pl | netcat -q0 localhost 17003

# Load some previously parsed sentences.
cat example-sentences.scm | netcat -q0 localhost 17003
<commit_msg>The load file can be much simpler now, with automatic loading implemented<commit_after>#! /bin/sh
#
# Load all required scm bits and pieces in order to extract triples
#

# Load the preposition dictionary
cat prep-maps.scm | netcat -q0 localhost 17003

# Load add rules
cat rules.txt | ./rules-to-implications.pl | netcat -q0 localhost 17003

# Load some previously parsed sentences.
cat example-sentences.scm | netcat -q0 localhost 17003

{'fraction_non_alphanumeric': 0.08742004264392324, 'fraction_numerical': 0.04051172707889126, 'mean_word_length': 3.742424242424242, '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': '7362196', 'n_tokens_mistral': 333, 'n_tokens_neox': 300, 'n_words': 119}