Commit 0b91c350 authored by tanel's avatar tanel
Browse files

Added decoder.FinalizeDecoding() to make final lattice decoding faster

parent 28dd859d
......@@ -704,6 +704,7 @@ static void gst_kaldinnet2onlinedecoder_loop(
if (num_seconds_decoded > 0.1) {
GST_DEBUG_OBJECT(filter, "Getting lattice..");
CompactLattice clat;
bool end_of_utterance = true;
decoder.GetLattice(end_of_utterance, &clat);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment