Add missing start_time to python API (#591)
Co-authored-by: vsd-vector <askars.salimbajevs@tilde.lv>
This commit is contained in:
@@ -509,6 +509,9 @@ class OnlineRecognizer(object):
|
||||
def timestamps(self, s: OnlineStream) -> List[float]:
|
||||
return self.recognizer.get_result(s).timestamps
|
||||
|
||||
def start_time(self, s: OnlineStream) -> float:
|
||||
return self.recognizer.get_result(s).start_time
|
||||
|
||||
def is_endpoint(self, s: OnlineStream) -> bool:
|
||||
return self.recognizer.is_endpoint(s)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user