Support getting word IDs for CTC HLG decoding. (#978)
This commit is contained in:
@@ -34,6 +34,8 @@ static void PybindOfflineRecognitionResult(py::module *m) { // NOLINT
|
||||
})
|
||||
.def_property_readonly("tokens",
|
||||
[](const PyClass &self) { return self.tokens; })
|
||||
.def_property_readonly("words",
|
||||
[](const PyClass &self) { return self.words; })
|
||||
.def_property_readonly(
|
||||
"timestamps", [](const PyClass &self) { return self.timestamps; });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user