go : added wrappers to reset and print timings (#436)

This commit is contained in:
Lukas Rist
2023-01-25 17:57:30 +01:00
committed by GitHub
parent 411ea9b833
commit 02c7516c57
4 changed files with 17 additions and 0 deletions

View File

@ -60,6 +60,9 @@ type Context interface {
IsNOT(Token) bool // Test for "No timestamps" token
IsLANG(Token, string) bool // Test for token associated with a specific language
IsText(Token) bool // Test for text token
PrintTimings()
ResetTimings()
}
// Segment is the text result of a speech recognition.