Skip to content
Snippets Groups Projects
Commit 0b91c350 authored by tanel's avatar tanel
Browse files

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

parent 28dd859d
No related branches found
No related tags found
No related merge requests found
......@@ -704,6 +704,7 @@ static void gst_kaldinnet2onlinedecoder_loop(
}
if (num_seconds_decoded > 0.1) {
GST_DEBUG_OBJECT(filter, "Getting lattice..");
decoder.FinalizeDecoding();
CompactLattice clat;
bool end_of_utterance = true;
decoder.GetLattice(end_of_utterance, &clat);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment