<commit_before>#! /bin/sh
#
# load-nlp.sh
#
# Initialize the scheme system with assorted nlp utilities
#

HOST=localhost
PORT=17001

cat type-definitions.scm |netcat $HOST $PORT
cat nlp-utils.scm |netcat $HOST $PORT
cat disjunct-list.scm |netcat $HOST $PORT
cat stats-collection.scm |netcat $HOST $PORT
cat file-process.scm |netcat $HOST $PORT
<commit_msg>add flag appropriate for "traditional" netcat.<commit_after>#! /bin/sh
#
# load-nlp.sh
#
# Initialize the scheme system with assorted nlp utilities
#

HOST=localhost
PORT=17001

cat type-definitions.scm |netcat -q0 $HOST $PORT
cat nlp-utils.scm        |netcat -q0 $HOST $PORT
cat disjunct-list.scm    |netcat -q0 $HOST $PORT
cat stats-collection.scm |netcat -q0 $HOST $PORT
cat file-process.scm     |netcat -q0 $HOST $PORT

{'fraction_non_alphanumeric': 0.11553273427471117, 'fraction_numerical': 0.019255455712451863, 'mean_word_length': 4.23489932885906, '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': '2199693', 'n_tokens_mistral': 299, 'n_tokens_neox': 288, 'n_words': 86}