Print the objects name followed by two list. The first list contains a class index for every stream, and the second list contains a stream weight for every stream. The class index is interpreted by the streams score computer. Usually this is the index of a mixture weight distribution. Just entering the name of the object has the same behaviour as calling the puts method.
Set the senones stream weights. The method takes n floating point numbers as arguments and sets the first n stream weights to the given values.
List all the names of the of the Senone objects that are a subobject of the SenoneSet object. The result is not sorted alphabetically but by the indices of the Senone objects. Entering only the name of the SenoneSet has the same behaviour as the puts method.
Expects the name of the file from which it should read the Senone definitions that will be added to the Senone definitions already residing in the SenoneSet object.
Expects the name of the file into which it will write the object's definitions.
Expects the name of a Senone subobject followed by a list of score computer class names (usually distribution names). You should provide one score computer class name for each stream. You should not mess around with adding or deleting senones once some other object ist using the SenoneSet>/tt> object.
Expects any number of Senone subobject names which will be deleted from the given object. If you try to delete a non existing subobject, then an error message will be issued. Keep in mind, that removing subobjects can change the indices of the other subobjects.
Expects any number of Senone subobject names. The method will return the list of indices of the named subobjects.
Expects any number of integers and returns the names of the Senone subobjects whose index they represent. If an index is less than zero or greater than the greatest index in the object the resulting name will be (null). Please keep in mind, that deleting subobjects from an object can change the indices of other objects.
Expects the name of a senone and the index of a speech frame. (Works only if the needed features are loaded and available). The method returns the acoustic score for the given senone at the given frame.
Expects the name of a Path object. This method will accumulate training data according to the alignment in the Path object. The SenoneSet object will feed all its score computers with the information from the alignment path and tell them to accumulate whatever they need. If stream weight training is available then the SenoneSet will accumulate the data for training its subobjects' stream weights.
Expects no arguments. This method will inform all score computers to update their parameters according to the training data that they have accumulated by then. If stream weight training is available then the SenoneSet will update its subobjects' stream weights.
Expects the name of a file containing stream weight definitions (which look exactly like the arguments of the Senone's stream method. The file's definitions will be used to set the stream weights accordingly.
Expects the name of a file into which it will write all the sobobjects' stream weights.
Uses the same syntax as the stream method of a single Senone object. When applied to a SenoneSet, the stream weights of all senones will be set to the given numbers.