next up previous contents index
Next: JO size minw Up: 13.6.1 Function Previous: CO newList

DP s n id ...

Duplicates a set of HMMs. This command is used to replicate a set of HMMs whilst allowing control over which structures will be shared between them. The first parameter controls duplication of tied structures. Any macros whose type appears in string s are duplicated with new names and only used in the duplicate model set. The remaining shared structures are common through all the model sets (original and duplicates). The second parameter defines the number of times the current HMM set should be duplicated with the remaining n parameters providing suffices to make the original macro identifiers unique in each duplicated HMM set.

For instance the following script could be used to duplicate a set of tied state models to produce gender dependent ones with tied variances.

    MM "v_" { (*).state[2-4].mix[1-2].cov }
    DP "v" 2 ":m" ":f"
The MM command converts all variances into macros (with each macro referring to only one variance). The DP command then duplicates the current HMM set twice. Each of the duplicate sets will share the tied variances with the original set but will have new mixture means, weights and state macros. The new macro names will be constructed by appending the id ":m" or ":f" to the original macro name whilst the model names have the id appended after the base phone name (so ax-b+d becomes ax-b:m+d or ax-b:f+d.


next up previous contents index
Next: JO size minw Up: 13.6.1 Function Previous: CO newList

ECRL HTK_V2.1: email [email protected]