<commit_before>#!/bin/bash

filename=$1
basename=${filename##*/}
target_dir=memurlarnet/clean
mkdir -p $target_dir
target=$target_dir/$basename

sed '1 d' $filename | sed '1 i\
{ "secim": [
' | sed "$ a\
}
" | iconv -f ISO-8859-9 -t UTF-8 > $target<commit_msg>fix: target_dir<commit_after>#!/bin/bash

filename=$1
basename=${filename##*/}
target_dir=data/memurlarnet/genel/clean
mkdir -p $target_dir
target=$target_dir/$basename

sed '1 d' $filename | sed '1 i\
{ "secim": [
' | sed "$ a\
}
" | iconv -f ISO-8859-9 -t UTF-8 > $target
{'fraction_non_alphanumeric': 0.19699812382739212, 'fraction_numerical': 0.03377110694183865, 'mean_word_length': 4.34, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 5, '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': '5077066', 'n_tokens_mistral': 234, 'n_tokens_neox': 219, 'n_words': 48}