ParakeetRebeccaRosario/examples/text_frontend/run.sh

15 lines
503 B
Bash
Raw Normal View History

2021-08-05 17:14:43 +08:00
#!/bin/bash
# test g2p
2021-08-16 16:31:37 +08:00
echo "Start get g2p test data."
python3 get_g2p_data.py --root-dir=~/datasets/BZNSYP --output-dir=data/g2p
2021-08-05 17:14:43 +08:00
echo "Start test g2p."
2021-08-16 16:31:37 +08:00
python3 test_g2p.py --input-dir=data/g2p --output-dir=exp/g2p
2021-08-05 17:14:43 +08:00
# test text normalization
2021-08-16 16:31:37 +08:00
echo "Start get text normalization test data."
python3 get_textnorm_data.py --test-file=data/textnorm_test_cases.txt --output-dir=data/textnorm
2021-08-05 17:14:43 +08:00
echo "Start test text normalization."
2021-08-16 16:31:37 +08:00
python3 test_textnorm.py --input-dir=data/textnorm --output-dir=exp/textnorm