<commit_before><commit_msg>Add sophie-start.sh.<commit_after>#!/usr/bin/env bash

case "$(uname)" in
"Darwin")
  FLAGS="-XstartOnFirstThread"
  PROFILE="macosx"
  ;;
"Linux")
  FLAGS=""
  PROFILE="linux"
  ;;
"MINGW32_NT") # Cygwin
  FLAGS=""
  PROFILE="win32"
  ;;
*)
  FLAGS=""
  PROFILE="linux"
  ;;
esac

JAR="target/sophie-*-$PROFILE-with-dependencies.jar"

if [ ! -f $JAR ]; then
  echo "Unable to find file $JAR"
  echo "Did you compile the project ? Maybe try: mvn clean install -P $PROFILE"
  exit 1
fi

java $FLAGS -jar $JAR

{'fraction_non_alphanumeric': 0.17383177570093458, 'fraction_numerical': 0.009345794392523364, 'mean_word_length': 3.828828828828829, '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': '179685', 'n_tokens_mistral': 238, 'n_tokens_neox': 215, 'n_words': 50}