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
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
pynini=pynini-2.1.4
|
|
openfst=openfst-1.8.1
|
|
|
|
LIBRARY_PATH=$PWD/${openfst}/install/lib
|
|
|
|
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}
|
|
|
|
pushd ${pynini} && LIBRARY_PATH=$LIBRARY_PATH python setup.py install && popd
|