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,27 @@
#!/bin/csh
if ("$1" == '') then
echo "Please enter the first absolute path with file prefix:"
set first=$<
else
set first=$1
endif
if ("$2" == '') then
echo "Please enter the second absolute path with file prefix:"
set second=$<
else
set second=$2
endif
if ("$3" == '') then
echo "Please enter the absolute path with file prefix of diff results:"
set diff=$<
else
set diff=$3
endif
perl /users/llu/scratch/OSR_accuracy/diff_osr_sum.pl $first.sum $second.sum >! $diff.sum
echo "$first.sum vs. $second.sum => $diff.sum"
perl /users/llu/scratch/OSR_accuracy/diff_osr_wer.pl $first.wer $second.wer >! $diff.wer
echo "$first.wer vs. $second.wer => $diff.wer"