@@ -54,23 +54,23 @@ struct LatticeTrackingDecoderConfig {
5454 hash_ratio(2.0 ),
5555 extra_beam(4.0 ),
5656 max_beam(40.0 ) { }
57- void Register (OptionsItf *po ) {
58- det_opts.Register (po );
59- po ->Register (" beam" , &beam, " Decoding beam." );
60- po ->Register (" max-active" , &max_active, " Decoder max active states." );
61- po ->Register (" lattice-beam" , &lattice_beam, " Lattice generation beam" );
62- po ->Register (" prune-interval" , &prune_interval, " Interval (in frames) at "
63- " which to prune tokens" );
64- po ->Register (" determinize-lattice" , &determinize_lattice, " If true, "
65- " determinize the lattice (in a special sense, keeping only "
66- " best pdf-sequence for each word-sequence)." );
67- po ->Register (" beam-delta" , &beam_delta, " Increment used in decoding" );
68- po ->Register (" hash-ratio" , &hash_ratio, " Setting used in decoder to control"
69- " hash behavior" );
70- po ->Register (" extra-beam" , &extra_beam, " Increment used in decoding (added "
71- " to worst tracked token from first pass)" );
72- po ->Register (" max-beam" , &max_beam, " Maximum beam (in case tracked tokens "
73- " go too far from beam)" );
57+ void Register (OptionsItf *opts ) {
58+ det_opts.Register (opts );
59+ opts ->Register (" beam" , &beam, " Decoding beam." );
60+ opts ->Register (" max-active" , &max_active, " Decoder max active states." );
61+ opts ->Register (" lattice-beam" , &lattice_beam, " Lattice generation beam" );
62+ opts ->Register (" prune-interval" , &prune_interval, " Interval (in frames) at "
63+ " which to prune tokens" );
64+ opts ->Register (" determinize-lattice" , &determinize_lattice, " If true, "
65+ " determinize the lattice (in a special sense, keeping only "
66+ " best pdf-sequence for each word-sequence)." );
67+ opts ->Register (" beam-delta" , &beam_delta, " Increment used in decoding" );
68+ opts ->Register (" hash-ratio" , &hash_ratio, " Setting used in decoder to control"
69+ " hash behavior" );
70+ opts ->Register (" extra-beam" , &extra_beam, " Increment used in decoding (added "
71+ " to worst tracked token from first pass)" );
72+ opts ->Register (" max-beam" , &max_beam, " Maximum beam (in case tracked tokens "
73+ " go too far from beam)" );
7474
7575 }
7676 void Check () const {
0 commit comments