欢迎访问 生活随笔!

凯发ag旗舰厅登录网址下载

当前位置: 凯发ag旗舰厅登录网址下载 > 编程资源 > 编程问答 >内容正文

编程问答

inx的c语言表达式,spninx 解决的问题 -凯发ag旗舰厅登录网址下载

发布时间:2024/10/14 编程问答 25 豆豆
凯发ag旗舰厅登录网址下载 收集整理的这篇文章主要介绍了 inx的c语言表达式,spninx 解决的问题 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

1、编译cmuclmtk

http://www.cnblogs.com/libtool: line 479: cdpath: command not found

http://www.cnblogs.com/libtool: line 1308: func_opt_split: command notfound

libtool: version mismatch error.  this is libtool 2.2.8,but the

libtool: definition of this lt_init comes from an olderrelease.

libtool: you should recreate aclocal.m4 with macros fromlibtool 2.2.8

libtool: and run autoconf again.

make[3]: *** [arpa_bo_ng_prob.lo] error 1

make[3]: leaving directory`/home/speech/sphinx/cmuclmtk/src/liblmest'

make[2]: *** [all-recursive] error 1

make[2]: leaving directory`/home/speech/sphinx/cmuclmtk/src'

make[1]: *** [all-recursive] error 1

make[1]: leaving directory `/home/speech/sphinx/cmuclmtk'

make: *** [all] error 2

解决办法:

1、rm -rf aclocal.m4;

autoreconf

2、将已安装的libtool覆盖到编译目录

./configure

cp/usr/bin/libtool /home/speech/sphinx/cmuclmtk

make

make install

3、cd/usr/local/bin

./sphinx3-simple

………

info: srch_time_switch_tree.c(350): time for buildingtrees, 0.0290 cpu 0.0446 clk

info: srch_time_switch_tree.c(372): lextrees(0), 1nodes(filler)

info: srch_time_switch_tree.c(372): lextrees(1), 1nodes(filler)

info: srch_time_switch_tree.c(372): lextrees(2), 1nodes(filler)

info: vithist.c(168): initializing viterbi-history module

info:  initialization of srch_t, report:

info:   operationmode = 4, operation name = fwdtree

info:

info: s3_decode.c(259): input data will not be byteswapped

info: s3_decode.c(264): partial hypothesis will be dumped

press enter to start recording

2、soundrecorder不起作用

pocketsphinx_continuous-lm 2916.lm -dict 2916.dic

info: ngram_search_fwdtree.c(186):creating search tree

info: ngram_search_fwdtree.c(191): before:0 root, 0 non-root channels, 12 single-phone words

info: ngram_search_fwdtree.c(324): after:max nonroot chan increased to 142

info: ngram_search_fwdtree.c(333): after:6 root, 14 non-root channels, 11 single-phone words

info: ngram_search_fwdflat.c(153):fwdflat: min_ef_width = 4, max_sf_win = 25

info: continuous.c(261): pocketsphinx_continuouscompiled on: feb 18 2011, at: 10:04:56

fatal_error:"continuous.c", line 135: cont_ad_calib failed

原因:soundrecorder不起作用。

sphinxbase_export int32cont_ad_calib (cont_ad_t *cont)

calibrate the silence filter. 校准静音滤波器

calibrate the silence filter.

calibration to determine an initialsilence threshold. this function can be called any number of times. it shouldbe called at least once immediately after cont_ad_init. the silence thresholdis also updated internally once in a while, so this function only needs to becalled in the middle if there is a definite change in the recordingenvironment. the application is responsible for makingsure that the raw audio source is turned on before the calibration.returnvalue: 0 if successful, <0 otherwise.

parameters:cont       in: objectpointer returned by cont_ad_init

definition at line 1022 of filecont_ad_base.c.

references cont_ad_t::ad,cont_ad_t::adbuf, cont_ad_calib(), cont_ad_t::headfrm,cont_ad_t::n_calib_frame, cont_ad_t::n_frm, cont_ad_t::pow_hist,cont_ad_t::spf, and cont_ad_t::thresh_update.

referenced by cont_ad_calib().

3、vmware 安装ubuntu10.10,soundrecorder使用正常

./pocketsphinxcontinuous

info: ngram_search_fwdtree.c(186): creating searchtree

info: ngram_search_fwdtree.c(191): before: 0 root,0 non-root channels, 12 single-phone words

info: ngram_search_fwdtree.c(324): after: maxnonroot chan increased to 142

info: ngram_search_fwdtree.c(333): after: 6 root,14 non-root channels, 11 single-phone words

info: ngram_search_fwdflat.c(153): fwdflat:min_ef_width = 4, max_sf_win = 25

ad_oss.c(103): failed to open audiodevice(/dev/dsp): no such file or directory

fatal_error: "continuous.c",line 259: ad_open_dev failed

解决办法:

sudo apt-get install libasound2-dev

recompiled sphinxbase

…………..

4、my_db.transtription存在“/n”

odule: 00 verify training files

o.s. is case sensitive ("a" !="a").

phones will be treated as case sensitive.

phase 1:dict - checking to see if the dict and filler dict agrees with the phonelistfile.

found 16 words using 16 phones

phase 2:dict - checking to make sure there are not duplicate entries in the dictionary

phase 3:ctl - check general format; utterance length (must be positive); files exist

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

warning: ctl line does not parse correctly:

phase 4:ctl - checking number of lines in the transcript should match lines in controlfile

phase 5:ctl - determine amount of training data, see if n_tied_states seems reasonable.

total hours training: 0.000789957264957265

thisis a small amount of data, no comment at this time

phase 6:transcript - checking that all the words in the transcript are in thedictionary

words in dictionary: 13

words in filler dictionary: 3

phase 7:transcript - checking that all the phones in the transcript are in thephonelist, and all phones in the phonelist appear at least once

something failed:(/sphinx/mytrain/scripts_pl/00.verify/verify_all.pl)

总结

以上是凯发ag旗舰厅登录网址下载为你收集整理的inx的c语言表达式,spninx 解决的问题的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得凯发ag旗舰厅登录网址下载网站内容还不错,欢迎将凯发ag旗舰厅登录网址下载推荐给好友。

网站地图