在Windows 10上安装Pocketsphinx

问题描述 投票:0回答:1

我正在尝试在Windows 10上安装pocketsphinx。我已经下载了pocketsphinx和sphinxbase,并同时构建了它们,并将sphinxbase.dll放入Pocketsphinx容器中。但是,当我复制并粘贴命令

bin\Debug\Win32\pocketsphinx_continuous.exe -inmic yes -hmm model\en-us\en-us -lm model\en-us\en-us.lm.bin -dict model\en-us\cmudict-en-us.dict

进入命令提示符(遵循https://cmusphinx.github.io/wiki/tutorialpocketsphinx/#windows的CMU Sphinx方向),输出的最后几行如下所示:

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
INFO: acmod.c(162): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: model/en-us/en-us/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: model/en-us/en-us/mdef
INFO: bin_mdef.c(516): 42 CI-phone, 137053 CD-phone, 3 emitstate/phone, 126 CI-sen, 5126 Sen, 29324 Sen-Seq
INFO: tmat.c(149): Reading HMM transition probability matrices: model/en-us/en-us/transition_matrices

但是我没有看到Ready ...或Listening ...提示我看到其他人可以测试该软件。我的输出似乎也比其他人少(与dict.c或ms_gauden.c等无关),有什么建议吗?

cmusphinx pocketsphinx windows-10-desktop
1个回答
0
投票

[如果其他人遇到此问题,请检查Visual Studio运行时库属性是否设置为多线程DLL(/ MD),尤其是在运行更新版本的Visual Studio时。要进行检查,请在Visual Studio中转到:

项目->属性-> C / C ++->代码生成->运行时库

确认/更改此设置。在执行此操作之前,您可能必须重新下载sphinxbase和pocketsphinx。仅在更改此设置后才构建.sln。

© www.soinside.com 2019 - 2024. All rights reserved.