15 lines
503 B
Bash
Executable File
15 lines
503 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# test g2p
|
|
echo "Start get g2p test data."
|
|
python3 get_g2p_data.py --root-dir=~/datasets/BZNSYP --output-dir=data/g2p
|
|
echo "Start test g2p."
|
|
python3 test_g2p.py --input-dir=data/g2p --output-dir=exp/g2p
|
|
|
|
# test text normalization
|
|
echo "Start get text normalization test data."
|
|
python3 get_textnorm_data.py --test-file=data/textnorm_test_cases.txt --output-dir=data/textnorm
|
|
echo "Start test text normalization."
|
|
python3 test_textnorm.py --input-dir=data/textnorm --output-dir=exp/textnorm
|
|
|