I found an older thread on stackoverflow that showed text output from CMU Sphinx appearing like the following:
Timed Result: for(37.56,38.21) you(39.86,40.11) think(40.11,40.38) you(40.38,40.56) know(40.56,40.99) it(41.5,41.73) is(41.73,41.99) good(41.99,42.27) too(42.27,42.41) yes(42.41,42.91)
Timed Result: on(44.22,44.52) this(44.52,44.7) on(44.7,44.81) the(44.81,44.98) ac(44.98,45.4) ice(45.4,45.7) to(45.7,45.81) bob(45.86,46.04) made(46.11,46.38) though(46.55,46.75) only(47.12,47.5) a(47.5,47.61) u.(47.61,48.19)
Timed Result: okay(48.23,50.09)
Can this type of output be done with pocketsphinx 0.8 win32?
Could someone give a command line to accomplish this type of output?
It is definitely not recommended to use 0.8 win32. It is better to compile 5prealpha
The simple command to decode and return word times is
pocketsphinx_continuous -infile file.wav -hmm en-us -lm en-us.lm.dmp -dict cmudict-en-us.dict -time yes
File must be 16khz 16bit mono. The models required to run this are provided in latest sources.
Log in to post a comment.
I found an older thread on stackoverflow that showed text output from CMU Sphinx appearing like the following:
Timed Result: for(37.56,38.21) you(39.86,40.11) think(40.11,40.38)
you(40.38,40.56) know(40.56,40.99) it(41.5,41.73) is(41.73,41.99)
good(41.99,42.27) too(42.27,42.41) yes(42.41,42.91)
Timed Result: on(44.22,44.52) this(44.52,44.7) on(44.7,44.81) the(44.81,44.98)
ac(44.98,45.4) ice(45.4,45.7) to(45.7,45.81) bob(45.86,46.04) made(46.11,46.38)
though(46.55,46.75) only(47.12,47.5) a(47.5,47.61) u.(47.61,48.19)
Timed Result: okay(48.23,50.09)
Can this type of output be done with pocketsphinx 0.8 win32?
Could someone give a command line to accomplish this type of output?
It is definitely not recommended to use 0.8 win32. It is better to compile 5prealpha
The simple command to decode and return word times is
File must be 16khz 16bit mono. The models required to run this are provided in latest sources.