Dear 'PocketSphinx' team,
I would like to transcribe some speech in wav file into text with the help of PocketSphinx. But if the sound file is too long then the result of decoding appears only after having recognized the entire file, that will take a long time. Is it possible to display the intermediate results of the decoding as to have outcomes while the process.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear 'PocketSphinx' team,
I use a simple visual C++ code for driving of PocketSphinx. I embed the code of PocketSphinx into visual C++ project and I call the appropriate (I hope) methods for the processing any sound file. There is the current code sniplet:
int16 adbuf[2048];
ps_start_utt(ps);
utt_started = FALSE;
Dear 'PocketSphinx' team,
I would like to transcribe some speech in wav file into text with the help of PocketSphinx. But if the sound file is too long then the result of decoding appears only after having recognized the entire file, that will take a long time. Is it possible to display the intermediate results of the decoding as to have outcomes while the process.
Sure, it is perfectly possible, it depends a how exactly do you use the library though. Is it Python API or something else.
Dear 'PocketSphinx' team,
I use a simple visual C++ code for driving of PocketSphinx. I embed the code of PocketSphinx into visual C++ project and I call the appropriate (I hope) methods for the processing any sound file. There is the current code sniplet:
int16 adbuf[2048];
ps_start_utt(ps);
utt_started = FALSE;
You can use ps_get_hyp after process_raw to get intermediate result.
Dear 'PocketSphinx' team,
thanks very much for rapid answer