Sphinx4 的 SphinxTrain 示例 configuration/properties xml 文件

Sample configuration/properties xml file for SphinxTrain for Sphinx4

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

因为 Trainer.java 需要配置文件(包含音频样本和转录文件的文件路径。)我找到了此配置的样本 trainer.properties 文件。但是我有 SphinxTrain 项目和 Sphinx4,它需要 trainer.xml 文件。为此,我需要示例格式。

下面是示例 trainer.properties 文件,我需要 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

你只需要跟着它。