SphinxTrain for Sphinx4的样例配置/属性xml文件



我使用Sphinx4。我正在尝试使用SphinxTrain训练声学模型。我有音频样本和转录文件。

As Trainer.java期望配置文件(包含音频样本和脚本文件的文件路径)我找到了运动鞋样品。此配置的属性文件。但我有SphinxTrain项目与Sphinx4,期望训练器。xml文件。我需要一个示例格式。

下面是示例训练器。属性文件,我需要在XML格式。

############################################################
#
# Trainer properties
#
############################################################
# File containing list of audio files
edu.cmu.sphinx.trainer.ControlFile.audioFile '' train.ctl
# File containing list of transcriptions, parallel to the audio file list
edu.cmu.sphinx.trainer.ControlFile.transcriptFile '' train.trans
# Initial stage to be done, defaults to _00_INITIALIZATION
edu.cmu.sphinx.trainer.Trainer.initialStage '' _00_INITIALIZATION
# Final stage to be done, defaults to _40_TIED_CD_TRAIN
edu.cmu.sphinx.trainer.Trainer.finalStage '' _10_CI_TRAIN
# Controls the maximum number of BW iterations
edu.cmu.sphinx.trainer.Trainer.maximumIteration '' 10
# Controls the minimum relative change in log likelihood to be considered as "stable"
edu.cmu.sphinx.trainer.Trainer.minimumImprovement '' 0.2
############################################################
#
# Acoustic model properties
#
############################################################
# These are the same as the decoder
edu.cmu.sphinx.knowledge.acoustic.location file:////data/model
# But these are pertinent only to the trainer. They refer to where the models will be saved
############################################################
# 
# FrontEnd properties, same as in the decoder
#
############################################################
############################################################
# 
# Dictionary properties, same as in the decoder
#
############################################################

如果有人能提供SphinxTrain for Sphinx4的样例configuration.xml,我将非常感激。

此处与Sphinx4无关。

Sphinxtrain文档可在网站上找到

http://cmusphinx.sourceforge.net/wiki/tutorialam

你只需要遵循它

最新更新