<commit_before>#!/bin/bash

lingpipeJar="lingpipe-4.1.0.jar"
#export _JAVA_OPTIONS="-Xmx256M"

# Check for Lingpipe in CLASSPATH
lingpipeSearchCount=`echo "$CLASSPATH" | tr ':' '\n' | xargs -I PATH basename PATH | grep -F -x $lingpipeJar | wc -l`
if [[ $lingpipeSearchCount -eq 0 ]]; then
	echo "Unable to find Lingpipe Jar: $lingpipeJar in CLASSPATH"
	exit 255
fi

HERE=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

#java -Xmx256M -classpath $CLASSPATH:$HERE LingpipeSentenceSplitter
java -classpath $CLASSPATH:$HERE LingpipeSentenceSplitter<commit_msg>Add in Java memory info to Lingpipe run<commit_after>#!/bin/bash

lingpipeJar="lingpipe-4.1.0.jar"
export _JAVA_OPTIONS="-Xmx256M"

# Check for Lingpipe in CLASSPATH
lingpipeSearchCount=`echo "$CLASSPATH" | tr ':' '\n' | xargs -I PATH basename PATH | grep -F -x $lingpipeJar | wc -l`
if [[ $lingpipeSearchCount -eq 0 ]]; then
	echo "Unable to find Lingpipe Jar: $lingpipeJar in CLASSPATH"
	exit 255
fi

HERE=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

#java -Xmx256M -classpath $CLASSPATH:$HERE LingpipeSentenceSplitter
java -classpath $CLASSPATH:$HERE LingpipeSentenceSplitter
{'fraction_non_alphanumeric': 0.13910761154855644, 'fraction_numerical': 0.024496937882764653, 'mean_word_length': 5.217391304347826, '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': '6878452', 'n_tokens_mistral': 461, 'n_tokens_neox': 435, 'n_words': 116}