diff --git a/whispercpp.pyx b/whispercpp.pyx index a684fd2..5e33243 100644 --- a/whispercpp.pyx +++ b/whispercpp.pyx @@ -156,7 +156,7 @@ cdef class Whisper: filename: Path to file Returns: - A result id for extract_text(...) + Return value of whisper_full for extract_text(...) Raises: RuntimeError: The given file could not be found @@ -172,13 +172,13 @@ cdef class Whisper: """Extracts the text from a transcription. Args: - res: A result id from transcribe(...) + res: A return value from transcribe(...) Returns: A list of transcribed strings. Raises: - RuntimeError: The given result id was invalid. + RuntimeError: The given return value was invalid. """ #print("Extracting text...") if res != 0: @@ -192,14 +192,14 @@ cdef class Whisper: """Extracts the text and timestamps from a transcription. Args: - res: A result id from transcribe(...) + res: A return value from transcribe(...) Returns: A list of tuples containing start time, end time and transcribed text. e.g. [(0, 500, " This is a test.")] Raises: - RuntimeError: The given result id was invalid. + RuntimeError: The given return value was invalid. """ if res != 0: raise RuntimeError