<commit_before>#!/bin/env perl

use Cwd;
use File::Basename;
use File::Path;

$inpath = Cwd::abs_path(dirname($0));
$outpath = Cwd::getcwd;

print "inpath : $inpath\n";
print "outpath: $outpath\n";
<commit_msg>Changes: Fix the windows perl script to work with perl provided with git<commit_after>#!/bin/env perl

use Cwd;
use File::Basename;
use File::Path;

$inpath = Cwd::abs_path(dirname($0));
$outpath = Cwd::getcwd;

#makes sure the windows path are set correctly and compliant with windows standard
$inpath  =~ s/^\/([a-z])/$1:/i; 
$outpath =~ s/^\/([a-z])/$1:/i; 

print "inpath : $inpath\n";
print "outpath: $outpath\n";

{'fraction_non_alphanumeric': 0.1875993640699523, 'fraction_numerical': 0.006359300476947536, 'mean_word_length': 5.0576923076923075, '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': '4074398', 'n_tokens_mistral': 259, 'n_tokens_neox': 253, 'n_words': 65}