Training an SSM

Use the ssm_train tool to generate an SSM from a training file:

ssm_train MyFilename.xml

You can include the output file in a wrapper grammar. See Using in applications (wrapper grammars).

The output filename has variations depending on the training file configuration. The base output file is set with the ssm_output_filename parameter. The .ssm extension is added automatically:

MyFilename.ssm

If the <ssm> element of the training file defines labels, the label name is added (see Parallel SSMs):

MyFilename_MyLabelName.ssm

If the configuration writes intermediate files, a suffix is added to show the number of iterations for each file. Possible formats:

MyFilename_iterations.ssm
MyFilename_MyLabelName_iterations.ssm