alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

Final Transcript have segment number missing #31

Closed ngoel17 closed 9 years ago

ngoel17 commented 9 years ago

Since the creation of JSON for final was moved to the plugin, it is missing the segment number, while the partial transcripts contain the segment number. This is a little confusing, and probably the we would need to keep two separate counters so that both have segment numbers. Maybe move the partial creation also to the plugin.

alumae commented 9 years ago

I fixed it by adding the segment nr to the final JSON inside the worker.