A toolkit for training finite-state models.
-
Install Boost (http://www.boost.org/)
-
Install R (http://www.r-project.org/)
-
Install OpenFst (http://www.openfst.org/)
-
Build fstrain:
mkdir Release cd Release cmake ../fstrain make export FSTRAIN_HOME=$(pwd) export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(FSTRAIN_HOME)/core:$(FSTRAIN_HOME)/create cd .. make -C test
If your OpenFst is not installed in a standard system directory (like
/usr/local
or similar) thencmake
cannot find it. In that case, use thiscmake
command:cmake -DOPENFST_ROOT=/my/path/to/openfst ../fstrain
where
/my/path/to/openfst
contains OpenFst'sinclude/
andlib/
directories.The same works for Boost: Use the
BOOST_ROOT
variable to specify the Boost location if it is not installed in a system directory:cmake -DBOOST_ROOT=/my/path/to/boost ../fstrain
-
Done!
Markus Dreyer, [email protected]