2023-07-13 22:12:02 +08:00
|
|
|
if [ $# -ne 1 ]
|
|
|
|
then
|
|
|
|
echo "[ERR] invalid arguments"
|
|
|
|
echo "Syntax"
|
|
|
|
echo ""
|
|
|
|
echo "./create_new_tr.sh <lang-symbol>"
|
|
|
|
echo "<lang-symbol>: your preferred language symbol. such as en, de, zh-cn..."
|
2023-07-14 15:56:35 +08:00
|
|
|
exit 1
|
2023-07-13 22:12:02 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
cd NlpTr
|
|
|
|
cp VT25.template.json "VT25."$1".json"
|
2023-07-25 15:44:50 +08:00
|
|
|
cp VT30.template.json "VT30."$1".json"
|
2023-07-13 22:12:02 +08:00
|
|
|
cp VT35.template.json "VT35."$1".json"
|
|
|
|
cp VT40.template.json "VT40."$1".json"
|
|
|
|
cp VT50.template.json "VT50."$1".json"
|
|
|
|
cd ..
|
|
|
|
echo "DONE"
|