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.
15 lines
375 B
15 lines
375 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
4 years ago
|
set -e
|
||
|
set -x
|
||
|
|
||
|
pynini=pynini-2.1.4
|
||
4 years ago
|
openfst=openfst-1.8.1
|
||
|
|
||
|
LIBRARY_PATH=$PWD/${openfst}/install/lib
|
||
4 years ago
|
|
||
|
test -e ${pynini}.tar.gz || wget http://www.openfst.org/twiki/pub/GRM/PyniniDownload/${pynini}.tar.gz
|
||
|
test -d ${pynini} || tar -xvf ${pynini}.tar.gz && chown -R root:root ${pynini}
|
||
|
|
||
4 years ago
|
pushd ${pynini} && LIBRARY_PATH=$LIBRARY_PATH python setup.py install && popd
|