将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
28 lines
694 B
Tcsh
28 lines
694 B
Tcsh
#!/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"
|