You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
664 B
39 lines
664 B
#!/bin/bash
|
|
|
|
# install kaldi-comptiable feature
|
|
pushd python_kaldi_features
|
|
python3 setup.py install
|
|
if [ $? != 0 ]; then
|
|
error_msg "Please check why kaldi feature install error!"
|
|
exit -1
|
|
fi
|
|
popd
|
|
|
|
# install zhon
|
|
pushd zhon
|
|
python3 setup.py install
|
|
if [ $? != 0 ]; then
|
|
error_msg "Please check why zhon install error!"
|
|
exit -1
|
|
fi
|
|
popd
|
|
|
|
# install pypinyin
|
|
pushd python-pinyin
|
|
python3 setup.py install
|
|
if [ $? != 0 ]; then
|
|
error_msg "Please check why pypinyin install error!"
|
|
exit -1
|
|
fi
|
|
popd
|
|
|
|
# install mmseg
|
|
pushd pymmseg-cpp/
|
|
python3 setup.py install
|
|
if [ $? != 0 ]; then
|
|
error_msg "Please check why pymmseg install error!"
|
|
exit -1
|
|
fi
|
|
popd
|
|
|