<commit_before>#!/bin/bash
# -----------------------------------------------------------------------------
# Create wrapped GameJs file.
#
# Environment Variables
#
#   GAMEJS_HOME   (Optional) Ringo installation directory
#   JAVA_HOME    (Optional) JDK installation directory
# -----------------------------------------------------------------------------
# Many thanks to the RingoJs bash file writers.
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -z "$GAMEJS_HOME" ]; then
    source "$SCRIPT_DIR/find-gamejs-home.sh"
    GAMEJS_HOME="$(find_gamejs_home "$0")"

    if [ "$OSTYPE" == 'cygwin' ]; then
		GAMEJS_HOME=`cygpath -m ${GAMEJS_HOME}`
	fi
fi

if [ -z "$JAVA_HOME" ] ; then
    java_cmd='java'
else
    if [ "$OSTYPE" == 'cygwin' ]; then
        java_cmd="`cygpath -u "$JAVA_HOME"`/bin/java"
    else
        java_cmd="$JAVA_HOME/bin/java"
    fi
fi

TEMP_WORKING=`mktemp -d /tmp/gamejs.XXXX`<commit_msg>Build fix for cygwin users<commit_after>#!/bin/bash
# -----------------------------------------------------------------------------
# Create wrapped GameJs file.
#
# Environment Variables
#
#   GAMEJS_HOME   (Optional) Ringo installation directory
#   JAVA_HOME    (Optional) JDK installation directory
# -----------------------------------------------------------------------------
# Many thanks to the RingoJs bash file writers.
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -z "$GAMEJS_HOME" ]; then
    source "$SCRIPT_DIR/find-gamejs-home.sh"
    GAMEJS_HOME="$(find_gamejs_home "$0")"

    if [ "$OSTYPE" == 'cygwin' ]; then
		GAMEJS_HOME=`cygpath -m ${GAMEJS_HOME}`
	fi
fi

if [ -z "$JAVA_HOME" ] ; then
    java_cmd='java'
else
    if [ "$OSTYPE" == 'cygwin' ]; then
        java_cmd="`cygpath -u "$JAVA_HOME"`/bin/java"
    else
        java_cmd="$JAVA_HOME/bin/java"
    fi
fi

TEMP_WORKING=`mktemp -d /tmp/gamejs.XXXX`

if [ "$OSTYPE" == 'cygwin' ]; then
  TEMP_WORKING=`cygpath -m ${TEMP_WORKING}`
fi

{'fraction_non_alphanumeric': 0.29215189873417724, 'fraction_numerical': 0.0020253164556962027, 'mean_word_length': 1.936106983655275, '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': '1717270', 'n_tokens_mistral': 690, 'n_tokens_neox': 652, 'n_words': 145}