http://www.cslu.ogi.edu/~sproatr/Courses/TextNorm/tutorial.html
话说安装之前要给文件夹执行权限:chmod -R 777 OpenFST_OpenGRM
话说原文里面在给openfst的./configure的时候加了个=true,千万不要加这个“=true”
另外,在configure threx的时候不要开启readline
其实安装完openfst之后,安装threx失败过,然后我把/usr/local/bin,/usr/local/lib,/usr/local/include都清空了,就可以了重新来一遍了=。=
其实更简单的方法:
sudo yum install openfst openfst-devel opengrm-ngram opengrm-ngram-devel
wget http://openfst.cs.nyu.edu/twiki/pub/GRM/ThraxDownload/thrax-1.1.0.tar.gz
tar xfv thrax-1.1.0.tar.gz
cd thrax-1.1.0
./configure
sudo make install
wget http://openfst.cs.nyu.edu/twiki/pub/GRM/ThraxDownload/thrax-1.1.0.tar.gz
tar xfv thrax-1.1.0.tar.gz
cd thrax-1.1.0
./configure
sudo make install