I need to get a hold of the timestamp of a recognized word in Pocketsphinx. How is this possible?
For example: for the utterance "tell bobby jones" I need to timestamp of "jones".
Thanks! Andrew
/**
* Get inclusive start and end frames from a segmentation iterator. * * @note These frame numbers are inclusive, i.e. the end frame refers * to the last frame in which the given word or other segment was * active. Therefore, the actual duration is *out_ef - *out_sf + 1. * * @param seg Segment iterator. * @param out_sf Output: First frame index in segment. * @param out_sf Output: Last frame index in segment. */ POCKETSPHINX_EXPORT void ps_seg_frames(ps_seg_t *seg, int *out_sf, int *out_ef);
Log in to post a comment.
I need to get a hold of the timestamp of a recognized word in Pocketsphinx.
How is this possible?
For example: for the utterance "tell bobby jones" I need to timestamp of
"jones".
Thanks! Andrew
/**