set-eset-x# need support c++17, so need gcc >= 8# openfstngram=ngram-1.3.13shared=truetest-e${ngram}.tar.gz || wget http://www.openfst.org/twiki/pub/GRM/NGramDownload/${ngram}.tar.gztest-d${ngram}||tar-xvf${ngram}.tar.gz &&chown-R root:root ${ngram}if[$shared==true];thenpushd${ngram}&& ./configure --enable-shared&&popdelsepushd${ngram}&& ./configure --enable-static&&popdfipushd${ngram}&& make -j&& make install&&popd