第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

Python pocketsphinx 0.1.15 配置與 pocketsphinx

Python pocketsphinx 0.1.15 配置與 pocketsphinx

慕田峪7331174 2022-11-29 15:58:38
我有一個(gè)解決方案(jsgf、dict、hmm),適用于:pocketsphinx_continuous -hmm zero_ru.cd_cont_4000 -dict vocabular.dict -jsgf calc.jsgf -inmic yes現(xiàn)在我試圖將它移植到 Python pocketsphinx 0.1.15( https://pypi.org/project/pocketsphinx/ ),我看到,在詳細(xì)的輸出中,Pythonpocketsphinx的配置與pocketsphinx_continuous配置不同。結(jié)果,Pythonpocketsphinx進(jìn)行了很多錯(cuò)誤的幻影檢測(cè)。我的 Python 腳本非常簡(jiǎn)單:speech = LiveSpeech(    verbose=True,    hmm='c:/Projects/pocketsphinx-5prealpha-win32/pocketsphinx/bin/Release/x64/zero_ru.cd_cont_4000',    lm=False,    jsgf='c:/Projects/pocketsphinx-5prealpha-win32/pocketsphinx/bin/Release/x64/calc.jsgf',    dic='c:/Projects/pocketsphinx-5prealpha-win32/pocketsphinx/bin/Release/x64/vocabular.dict',    allphone_ci=False,    vad_threshold=2.0,    kws_threshold=1.0,)for phrase in speech:    print(phrase)通過(guò)將文本文件與我看到的輸出進(jìn)行比較,輸出中pocketsphinx_continuous有:INFO: fe_interface.c(325): Using -1 as the seed.INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none'INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0INFO: acmod.c(154): Reading linear feature transformation from zero_ru.cd_cont_4000/feature_transformINFO: mdef.c(518): Reading model definition: zero_ru.cd_cont_4000/mdefINFO: bin_mdef.c(181): Allocating 145321 * 8 bytes (1135 KiB) for CD tree但是 Pythonpocketsphinx有:INFO: fe_interface.c(324): Using -1 as the seed.INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'INFO: acmod.c(152): Reading linear feature transformation from c:/Projects/pocketsphinx-5prealpha-win32/pocketsphinx/bin/Release/x64/zero_ru.cd_cont_4000/feature_transformINFO: mdef.c(518): Reading model definition: c:/Projects/pocketsphinx-5prealpha-win32/pocketsphinx/bin/Release/x64/zero_ru.cd_cont_4000/mdef現(xiàn)在我正在嘗試使Pythonpocketsphinx與.configpocketsphinx_continuous
查看完整描述

1 回答

?
梵蒂岡之花

TA貢獻(xiàn)1900條經(jīng)驗(yàn) 獲得超5個(gè)贊

批處理和當(dāng)前是相同的模式。它只是在某個(gè)時(shí)間點(diǎn)被重命名,它只取決于版本。

幻影檢測(cè)可能是您的 jsgf 中詞匯量非常小的結(jié)果,而不是 cmn。


查看完整回答
反對(duì) 回復(fù) 2022-11-29
  • 1 回答
  • 0 關(guān)注
  • 264 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)