Menu

Regarding pocket_sphinx

Help
SKR
2017-03-08
2017-03-10
  • SKR

    SKR - 2017-03-08

    Hello..
    Can I make changes in pocketsphinx.c? I want to print its output into a file..
    Can I add lines of code for that into it?? Will it reflects in output??? Is there any necessary steps should i follow to reflect the made changes??

    Thanks in advance......

     
    • Nickolay V. Shmyrev

      Can I make changes in pocketsphinx.c?

      Yes

      Can I add lines of code for that into it??

      Yes

      Will it reflects in output???

      Yes

        Is there any necessary steps should i follow to reflect the made changes??
      
      1. Change the lines
      2. Compile
      3. Run
       
  • SKR

    SKR - 2017-03-09

    Hai,

    My problem is : I want to print the highlighted portion of this image into a file. I found it is dispalyed by pocketsphinx.c program.. Is it possible? How?

    Thank You....

     
  • SKR

    SKR - 2017-03-10

    I made changes in pocketsphinx.c,,, But not working....

     
  • SKR

    SKR - 2017-03-10

    Hello,

    Any idea??

     
    • Arseniy Gorin

      Arseniy Gorin - 2017-03-10

      it's easier to use grep and parse the log file without modifying pocketsphinx
      for C code is hard to say cause we have no idea what you modified. Also do not forget to re-compile

       
  • SKR

    SKR - 2017-03-13

    Haii,
    Thanks for the response.

    The result shown in above figure is the outcome of the command:

    "pocketsphinx_continuous -hmm ./ -infile akhil_30.wav -allphone phone.lm -lm /home/adspr/sphinx/msr/model_parameters/msr.ci_cont/phone.lm -dict msr.dic -backtrace yes -fsgusefiller no -bestpath yes 2>&1 > with-alignment.txt"

    There is no log file along with this!! The text 'with-alignment.txt' only shows third last line of that figure.

    I only add lines of code to print the loop outcomes to a file, in pocketsphinx.c. How can I compile it?? You mean compile the pocketsphinx package itself again? I didnt get idea of compile and run the file...

    Please can you explain more.....

    Thanks....

     

Log in to post a comment.