<commit_before>#!/bin/bash
set -e

# Configuration
J2OBJC_VERSION=0.9.8.1
BUILD_DIRECTORY="$1/build-tools"
J2OBJC_DIR="${BUILD_DIRECTORY}/dist/"

source "$BUILD_DIRECTORY/common.sh"

if [ ! -d "${J2OBJC_DIR}/j2objc-${J2OBJC_VERSION}" ]; then
	echo_w "Downloading j2objc..."

	curl -o "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip" -L https://bintray.com/artifact/download/ex3ndr/generic/j2objc-${J2OBJC_VERSION}.zip

	echo "Extracting j2objc..."
	mkdir -p "${J2OBJC_DIR}"
	unzip -q "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip" -d "${J2OBJC_DIR}"
	rm "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip"
else
	echo_w "Cocoa Dependency already installed. Skipping..."
fi
<commit_msg>chore(apps): Updated j2objc distribution path<commit_after>#!/bin/bash
set -e

# Configuration
J2OBJC_VERSION=0.9.8.1
BUILD_DIRECTORY="$1/build-tools"
J2OBJC_DIR="${BUILD_DIRECTORY}/dist/"

source "$BUILD_DIRECTORY/common.sh"

if [ ! -d "${J2OBJC_DIR}/j2objc-${J2OBJC_VERSION}" ]; then
	echo_w "Downloading j2objc..."
	curl -o "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip" -L https://dl.bintray.com/actor/j2objc/j2objc-${J2OBJC_VERSION}.zip

	echo "Extracting j2objc..."
	mkdir -p "${J2OBJC_DIR}"
	unzip -q "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip" -d "${J2OBJC_DIR}"
	rm "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip"
else
	echo_w "Cocoa Dependency already installed. Skipping..."
fi

{'fraction_non_alphanumeric': 0.18181818181818182, 'fraction_numerical': 0.03391053391053391, 'mean_word_length': 5.391705069124424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '359975', 'n_tokens_mistral': 618, 'n_tokens_neox': 583, 'n_words': 88}