<commit_before>#!/bin/bash
HIVEDB_HOME="$PWD/target"

java -jar "$HIVEDB_HOME/hivedb-jar-with-dependencies.jar" -host $1 -db $2 -user $3 -pw $4<commit_msg>Made the installer script a little nicer.  Now you can specify the location of hivedb-jar-with-dependencies.jar by setting the HIVEDB_HOME environment variable.<commit_after>#!/bin/bash
if [ -z "$HIVEDB_HOME" ]; then
	HIVEDB_HOME="$PWD/target"
fi

if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ]; then
	echo "usage: install.sh <host> <database> <user> <password>"
else
	java -jar "$HIVEDB_HOME/hivedb-jar-with-dependencies.jar" -host $1 -db $2 -user $3 -pw $4
fi
{'fraction_non_alphanumeric': 0.17017828200972449, 'fraction_numerical': 0.019448946515397084, 'mean_word_length': 4.024390243902439, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3888475', 'n_tokens_mistral': 256, 'n_tokens_neox': 240, 'n_words': 72}