Support getting word IDs for CTC HLG decoding. (#978)
This commit is contained in:
@@ -30,6 +30,8 @@ struct OfflineRecognitionResult {
|
||||
/// timestamps[i] records the time in seconds when tokens[i] is decoded.
|
||||
std::vector<float> timestamps;
|
||||
|
||||
std::vector<int32_t> words;
|
||||
|
||||
std::string AsJsonString() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user