⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.am

📁 CMU大名鼎鼎的SPHINX-3大词汇量连续语音识别系统
💻 AM
字号:
# ====================================================================# Copyright (c) 2004 Carnegie Mellon University.  All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:## 1. Redistributions of source code must retain the above copyright#    notice, this list of conditions and the following disclaimer. ## 2. Redistributions in binary form must reproduce the above copyright#    notice, this list of conditions and the following disclaimer in#    the documentation and/or other materials provided with the#    distribution.## This work was supported in part by funding from the Defense Advanced # Research Projects Agency and the National Science Foundation of the # United States of America, and the CMU Sphinx Speech Consortium.## THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND # ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY# NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.## ====================================================================##  Sphinx III## ====================================================================INCLUDES = -I$(top_srcdir) \	-I$(top_srcdir)/src \	-I$(top_srcdir)/src/libs3decoder \       -I$(top_srcdir)/src/libs3audio \       -I$(top_builddir)/includeLDADD = $(top_builddir)/src/libs3decoder/libs3decoder.la \	$(top_builddir)/src/libs3audio/libs3audio.la \	$(top_builddir)/src/libutil/libutil.la \	-lm @ad_libs@ DATAPATH = /lab/speech/sphinx4/data/tidigits/test/TIDIGITSRAWPATH = $(DATAPATH)/raw16kTIDIGITSCEPPATH = $(DATAPATH)/cepstra TIDIGITSRESULTPATH = ${top_builddir}/src/tests/performance/tidigits/PROGRAMDIR = ${top_builddir}/src/programsBMBIN = ${top_builddir}/src/test/programs/batchmetricsLPBIN = $(PROGRAMDIR)/livepretendDECODEBIN = $(PROGRAMDIR)/decodeDECANYBIN = $(PROGRAMDIR)/decode_anytopoALIGNBIN = /net/elroy/usr1/archan/src/ravi/ALIGN/linux/align ALLTARGET=tidigits-lp tidigits-quick-lp tidigits-decode tidigits-quick-decode#legacy targets, For tidigits, batchmetric doesn't work at all.#tidigits-bm tidigits-quick-bm:#	rm -f $@.results $@.ctl#	cat ARGS ARGS.live > ARGS.$@#	$(BMBIN) $(subst -bm,,$@).batch $(TIDIGITSRAWPATH) ARGS.$@ > $@.results 2>&1#all : $(ALLTARGET)quick : tidigits-quick-lp tidigits-quick-decode tidigits-quick-decanyslow : tidigits-lp tidigits-decode tidigits-decanyclean : 	-rm -f *.ctl *.sent  *.lex *.results *.match *.match.align ARGS.tidigits-*#Targets which we are actively using. tidigits-lp tidigits-quick-lp : 	-rm -f $@.results $@.match $@.match.align	awk '{print $$1}' $(subst -lp,,$@).batch |sed "s/\.raw//" > ./$@.ctl	cat ARGS ARGS.live > ARGS.$@	echo "-hyp $@.match" >> ARGS.$@	$(LPBIN) ./$@.ctl $(TIDIGITSRAWPATH) ARGS.$@ > $@.results  2>&1 	awk '{for(i=2;i<=NF;i++){printf("%s ",$$i)}; printf("(%s)\n",$$1)}' $(subst -lp,,$@).batch |sed "s/\.wav\.raw//" > $@.sent	- $(ALIGNBIN) -def $@.sent -hyp $@.match > $@.match.aligntidigits-decode tidigits-quick-decode: 	-rm -f $@.results $@.match $@.match.align	awk '{print $$1}'  $(subst -decode,,$@).batch |sed "s/\.wav\.raw//" > ./$@.ctl	/bin/cp ARGS ARGS.$@	echo "-ctl $@.ctl" >> ARGS.$@	echo "-cepdir $(TIDIGITSCEPPATH)" >> ARGS.$@	echo "-hyp $@.match" >> ARGS.$@	$(DECODEBIN) ARGS.$@ > $@.results 2>&1	awk '{for(i=2;i<=NF;i++){printf("%s ",$$i)}; printf("(%s)\n",$$1)}' $(subst -decode,,$@).batch |sed "s/\.wav\.raw//" > $@.sent	touch $@.lex #empty lexicon	- $(ALIGNBIN) -def $@.sent -hyp $@.match  > $@.match.aligntidigits-decany tidigits-quick-decany: 	-rm -f $@.results $@.match $@.match.align	awk '{print $$1}'  $(subst -decany,,$@).batch |sed "s/\.wav\.raw//" > ./$@.ctl	/bin/cp ARGS.decany ARGS.$@	echo "-ctl $@.ctl" >> ARGS.$@	echo "-cepdir $(TIDIGITSCEPPATH)" >> ARGS.$@	echo "-hyp $@.match" >> ARGS.$@	$(DECANYBIN) ARGS.$@ > $@.results 2>&1	awk '{for(i=2;i<=NF;i++){printf("%s ",$$i)}; printf("(%s)\n",$$1)}' $(subst -decany,,$@).batch |sed "s/\.wav\.raw//" > $@.sent	touch $@.lex #empty lexicon	- $(ALIGNBIN) -def $@.sent -hyp $@.match  > $@.match.align

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -