Support getting word IDs for CTC HLG decoding. (#978)
This commit is contained in:
@@ -59,6 +59,7 @@ static OnlineRecognizerResult Convert(const OnlineCtcDecoderResult &src,
|
||||
}
|
||||
|
||||
r.segment = segment;
|
||||
r.words = std::move(src.words);
|
||||
r.start_time = frames_since_start * frame_shift_ms / 1000.;
|
||||
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user