Menu

Two Qst.

Help
atuk
2015-06-22
2015-06-22
  • atuk

    atuk - 2015-06-22

    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!!!!!

     
  • atuk

    atuk - 2015-06-22

    Dear Akshay

    Thank you very much!!

     
  • atuk

    atuk - 2015-06-22

    Edit by me
    Thanks

     

    Last edit: atuk 2015-06-22
    • Jan "yenda" Trmal

      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/>