Phonetisaurus
编译
它的编译依赖,在编译openfst时,如果不指定构建路径在系统路径下,生成的include和lib可能就无法被直接引用到。所以在编译Phonetisaurus时,特别是在configure步骤,会提示依赖的openfst找不到。
checking for openfst libraries...
configure: error: Can't find OpenFST or one or more of its extensions.
Use --with-openfst-includes and --with-openfst-libs to specify where you have installed OpenFst.
OpenFst should have been configured with the following flags:
--enable-static --enable-shared --enable-far --enable-ngram-fsts
起始这里的报错信息说的已经很明显了,需要注意两点