<commit_before><commit_msg>testing the result of ant-build-nsc<commit_after>#!/bin/sh

. ant-common.sh

# jar with fjbg, scala runtime
if ! addJar $fjbg_jar fjbg_jar;  then exit -1; fi
if ! addJar $tools_jar tools_jar;  then exit -1; fi
if ! addJar $scala_jar scala_jar; then echo "try: make jar target=LIBRARY" && exit -1; fi

# jars for `nsc' task (once its compiled)
if ! addJar $jars_dir/nsc4ant.jar;   then exit -1; fi
if ! addJar $jars_dir/nsc.jar;       then exit -1; fi

export CLASSPATH

# for debugging your classpath
#echo $CLASSPATH

ant -f test-nsc.xml $*
{'fraction_non_alphanumeric': 0.11443661971830986, 'fraction_numerical': 0.01056338028169014, 'mean_word_length': 3.8220338983050848, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '3166566', 'n_tokens_mistral': 232, 'n_tokens_neox': 229, 'n_words': 72}