Dear all
Can anyone please help me? I have two qst about the C++ files of KALDI:
1) What is the type "BaseFloat" that used in the scripts?
2) What is the mean of "po->Register" that used in many scripts?
If will be happy if anyone will explain me.
Thanks!!!!!
BaseFloat is the normal float primitive http://kaldi.sourceforge.net/kaldi-types_8h_source.html#l00029 po->Register is a command to register some type of input to a binary through the command line: http://kaldi.sourceforge.net/parse_options.html
Dear Akshay
Thank you very much!!
Edit by me Thanks
This is a way how kaldi ties the command-line switches to internal variables. So for example this: po.Register("beam", &beam, "Decoding beam");
means that if the program is called with parameter --beam=17, the value (17) should be stored in the internal variable (beam).
y.
On Mon, Jun 22, 2015 at 4:15 AM, atuk atuk123@users.sf.net wrote:
Dear Akshay Sorry again, but can you pls explain me what is the mean of this part in the example you refer me: // Register the options with the ParseOptions object. po.Register("binary", &binary, "Write output in binary mode");po.Register("beam", &beam, "Decoding beam"); gopts.Register(&po); Thank you very very much!! Two Qst. Sent from sourceforge.net because you indicated interest in < https://sourceforge.net/p/kaldi/discussion/1355348/> To unsubscribe from further messages, please visit < https://sourceforge.net/auth/subscriptions/>
Sorry again, but can you pls explain me what is the mean of this part in the example you refer me:
// Register the options with the ParseOptions object.
po.Register("binary", &binary, "Write output in binary mode");po.Register("beam", &beam, "Decoding beam"); gopts.Register(&po);
Thank you very very much!!
Two Qst.
Sent from sourceforge.net because you indicated interest in < https://sourceforge.net/p/kaldi/discussion/1355348/>
To unsubscribe from further messages, please visit < https://sourceforge.net/auth/subscriptions/>
Dear all
Can anyone please help me? I have two qst about the C++ files of KALDI:
1) What is the type "BaseFloat" that used in the scripts?
2) What is the mean of "po->Register" that used in many scripts?
If will be happy if anyone will explain me.
Thanks!!!!!
BaseFloat is the normal float primitive
http://kaldi.sourceforge.net/kaldi-types_8h_source.html#l00029
po->Register is a command to register some type of input to a binary through the command line:
http://kaldi.sourceforge.net/parse_options.html
Dear Akshay
Thank you very much!!
Edit by me
Thanks
Last edit: atuk 2015-06-22
This is a way how kaldi ties the command-line switches to internal
variables.
So for example this:
po.Register("beam", &beam, "Decoding beam");
means that if the program is called with parameter --beam=17, the value
(17) should be stored in the internal variable (beam).
y.
On Mon, Jun 22, 2015 at 4:15 AM, atuk atuk123@users.sf.net wrote: