<commit_before>pip3 install pexpect
sudo cp simdem.py /usr/local/bin
sudo ln -s /usr/local/bin/simdem.py /usr/local/bin/simdem
<commit_msg>can only create a symlink if it doesn't already exist<commit_after>INSTALL_DIR=/usr/local/bin/
FILE=simdem.py
SYMLINK=simdem

pip3 install pexpect

sudo cp $FILE $INSTALL_DIR

if [ ! -L $INSTALL_DIR$SYMLINK ]; then
    sudo ln -s $INSTALL_DIR$FILE $INSTALL_DIR$SYMLINK
fi

{'fraction_non_alphanumeric': 0.10462287104622871, 'fraction_numerical': 0.004866180048661801, 'mean_word_length': 4.6438356164383565, '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': '3126654', 'n_tokens_mistral': 168, 'n_tokens_neox': 155, 'n_words': 41}