<commit_before>#!/bin/bash

function build {
    rm -r -f "build/$1"
    unzip "redist/electron-v1.*-$1.zip" -d "build/$1"
    rm -f "build/$1/version"
    rm -f "build/$1/LICENSE"*
    rm -r -f "build/$1/locales"
    rm -r -f "build/$1/resources/default_app.asar"
    if [[ $string =~ linux.* ]]
    then
        mv "build/$1/electron" "build/$1/hakuneko"
    fi
    if [[ $string =~ win32.* ]]
    then
        mv "build/$1/electron.exe" "build/$1/hakuneko.exe"
    fi
    cp -r "src" "build/$1/resources/app"
}

set -e

cd "$(dirname $0)"<commit_msg>fixed build script<commit_after>#!/bin/bash

function build {
    rm -r -f "build/$1"
    unzip "redist/electron-v1.*-$1.zip" -d "build/$1"
    rm -f "build/$1/version"
    rm -f "build/$1/LICENSE"*
    rm -r -f "build/$1/locales"
    rm -r -f "build/$1/resources/default_app.asar"
    if [[ $1 =~ linux.* ]]
    then
        mv "build/$1/electron" "build/$1/hakuneko"
    fi
    if [[ $1 =~ win32.* ]]
    then
        mv "build/$1/electron.exe" "build/$1/hakuneko.exe"
    fi
    cp -r "src" "build/$1/resources/app"
}

set -e

cd "$(dirname $0)"
{'fraction_non_alphanumeric': 0.20708446866485014, 'fraction_numerical': 0.030881017257039057, 'mean_word_length': 2.157593123209169, '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': '1255987', 'n_tokens_mistral': 489, 'n_tokens_neox': 466, 'n_words': 101}