<commit_before>#! /bin/bash
set -e
if [ '$GOROOT' == '' ]; then
    echo "GOROOT not defined. Is go installed?"

fi
if [ '$GOBIN' == '' ]; then
    echo "GOBIN not defined. Is go installed?"
    return
fi
export GOPATH=`pwd`
echo "Installing required go libraries..."
for req in `cat go_deps.lst`; do
    go get $req
done
echo "Libraries installed"
echo "Please edit config.ini for local settings."<commit_msg>Exit from install.sh if $GOROOT is not set<commit_after>#! /bin/bash
set -e
if [ '$GOROOT' == '' ]; then
    echo "GOROOT not defined. Is go installed?"
    return
fi
if [ '$GOBIN' == '' ]; then
    echo "GOBIN not defined. Is go installed?"
    return
fi
export GOPATH=`pwd`
echo "Installing required go libraries..."
for req in `cat go_deps.lst`; do
    go get $req
done
echo "Libraries installed"
echo "Please edit config.ini for local settings."
{'fraction_non_alphanumeric': 0.13038416763678695, 'fraction_numerical': 0.0, 'mean_word_length': 3.5026178010471205, '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': '6382952', 'n_tokens_mistral': 300, 'n_tokens_neox': 293, 'n_words': 115}