<commit_before>#!/bin/sh

cd `dirname $0`

WGET='wget'
if ! [ -x `which wget||echo @` ]; then
	if [ -x `which curl||echo @` ]; then
		WGET='curl -O'
	else
		sudo apt-get install -y wget
		sh -c "sh $0"
		exit
	fi
fi

TMPDIR="adk-workspace.$$.tmp"
mkdir $TMPDIR
cd $TMPDIR

$WGET http://aitech.ac.jp/maslab/labsys/ComlibDL/adk-workspace.zip
unzip ./adk-workspace.zip
ADKDIR=`find -maxdepth 1 -mindepth 1 -type d | sed -E 's%./%%g'`
rm ./adk-workspace.zip
cd $ADKDIR

GITHUB_CONTENTS='https://raw.githubusercontent.com/tkmnet/rcrs-scripts/master/adk-scripts/'
$WGET ${GITHUB_CONTENTS}.build.sh
$WGET ${GITHUB_CONTENTS}.start.sh
$WGET ${GITHUB_CONTENTS}.libs-update.sh

cd ..
mv $ADKDIR ../
cd ..<commit_msg>fix adk-scripts<commit_after>#!/bin/sh

WGET='wget'
if ! [ -x `which wget||echo @` ]; then
	if [ -x `which curl||echo @` ]; then
		WGET='curl -O'
	else
		sudo apt-get install -y wget
		sh -c "sh $0"
		exit
	fi
fi

TMPDIR="adk-workspace.$$.tmp"
mkdir $TMPDIR
cd $TMPDIR

$WGET http://aitech.ac.jp/maslab/labsys/ComlibDL/adk-workspace.zip
unzip ./adk-workspace.zip
ADKDIR=`find -maxdepth 1 -mindepth 1 -type d | sed -E 's%./%%g'`
rm ./adk-workspace.zip
cd $ADKDIR

cd workspace
GITHUB_CONTENTS='https://raw.githubusercontent.com/tkmnet/rcrs-scripts/master/adk-scripts/'
$WGET ${GITHUB_CONTENTS}.build.sh
$WGET ${GITHUB_CONTENTS}.start.sh
$WGET ${GITHUB_CONTENTS}.libs-update.sh
cd ..

cd ..
mv $ADKDIR ../
cd ..
{'fraction_non_alphanumeric': 0.18387553041018387, 'fraction_numerical': 0.0049504950495049506, 'mean_word_length': 3.6091205211726383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2624575', 'n_tokens_mistral': 659, 'n_tokens_neox': 630, 'n_words': 129}