installing openfst, thrax, etc

  • OpenFST
./configure --prefix=$[[HOME]]/local --enable-far=yes --enable-ngram-fsts=yes --enable-pdt=yes
make
make install
Add the following into your .bashrc etc.
LD_LIBRARY_PATH=/usr/local/lib/fst:$LD_LIBRARY_PATH
を追加。

  • Thrax
http://openfst.cs.nyu.edu/twiki/bin/view/GRM/ThraxDownload
[Note] For your thrax-1.1.0/src/lib/util/utils.cc,
replace
#include <fcntl.h>
into
#include <unistd.h>
(because you face the follwoing error during make "error: 'close' was not declared in this scope")

./configure --prefix=$HOME/local
make
make install

  • OpenGrm Ngram
./configure --prefix=$HOME/local
make
make install

Congratulations!!

タグ:

OpenFst
最終更新:2013年12月27日 07:30