Я уже установил Open Fst в Ubuntu, и он отлично работает. Теперь я пытаюсь установить Open GRM thrax. Я пытался установить 2 разные версии thrax.
Тракс версия 1.1.0:
thraxOpenGrm/thrax-1.1.0$ ./configure
ниже ошибка, которую я получаю.
checking how to hardcode library paths into programs... immediate
checking for bison... no
checking for byacc... no
checking for std::tr1::hash<long long unsigned>... yes
checking for __gnu_cxx::slist<int>... yes
checking fst/fst.h usability... yes
checking fst/fst.h presence... no
configure: WARNING: fst/fst.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: fst/fst.h: proceeding with the compiler's result
checking for fst/fst.h... yes
checking fst/extensions/far/far.h usability... yes
checking fst/extensions/far/far.h presence... no
configure: WARNING: fst/extensions/far/far.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: fst/extensions/far/far.h: proceeding with the compiler's result
checking for fst/extensions/far/far.h... yes
checking fst/extensions/pdt/pdt.h usability... no
checking fst/extensions/pdt/pdt.h presence... no
checking for fst/extensions/pdt/pdt.h... no
configure: error: fst/extensions/pdt/pdt.h header not found
Тракс версии 0.1.0:
thraxOpenGrm/thrax-0.1.0$ ./configure
ниже ошибка, которую я получаю.
checking how to hardcode library paths into programs... immediate
checking for bison... no
checking for byacc... no
checking for std::tr1::hash<long long unsigned>... yes
checking for __gnu_cxx::slist<int>... yes
checking fst/fst.h usability... no
checking fst/fst.h presence... no
checking for fst/fst.h... no
configure: error: fst/fst.h header not found
Он выдает разные ошибки с разными версиями Thrax. Прочитал решение на этом форуме.
http://www.openfst.org/twiki/bin/view/Forum/GrmThraxForum
В нем говорится, что openfst должен быть «построен» с помощью ./configure --enable-far=true
. Я удалил openfst и установил его с помощью ./configure --enable-far=true
, а также с помощью ./configure --enable-far
. Ошибка все еще сохраняется.