This commit is contained in:
luk.lu
2021-06-07 10:03:42 +08:00
parent be14f64242
commit 7f0bf14e13
57 changed files with 1592 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
open UTD, "$ARGV[0]" or die;
$nr_utt = 0;
$nr_block = 0;
$head = "";
while (<UTD>)
{
if (not m|/datadigest/|)
{
$head = $head."$_";
}else
{
if ($nr_utt % 500 == 0)
{
$nr_block ++;
open FH, ">$ARGV[0].$nr_block" or die;
print FH $head;
}
print FH;
$nr_utt ++;
}
}