next up previous contents index
Next: 13.15.2 Use Up: 13.15 HSGen Previous: 13.15 HSGen

13.15.1 Function

  This program will read in a word network definition in standard HTK lattice format representing a Regular Grammar G and randomly generate sentences from the language L(G) of G. The sentences are written to standard output, one per line and an option is provided to number them if required.

The empirical entropy tex2html_wrap_inline22426 can also be calculated using the formula

equation14510

where tex2html_wrap_inline22428 is the k'th sentence generated and tex2html_wrap_inline22432 is its length. The perplexity tex2html_wrap_inline22434 is computed from tex2html_wrap_inline22436 by

equation14514

The probability of each sentence tex2html_wrap_inline22438 is computed from the product of the individual branch probabilities.


next up previous contents index
Next: 13.15.2 Use Up: 13.15 HSGen Previous: 13.15 HSGen

ECRL HTK_V2.1: email [email protected]