From e9ce7633d3b6f6e08860edb34573967146139905 Mon Sep 17 00:00:00 2001 From: ftnext Date: Mon, 30 Dec 2024 09:42:32 +0900 Subject: [PATCH] [docs] Tweak references --- reference/library-reference.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reference/library-reference.rst b/reference/library-reference.rst index 644e7dc3..dd5c2169 100644 --- a/reference/library-reference.rst +++ b/reference/library-reference.rst @@ -290,20 +290,20 @@ Returns the most likely transcription if ``show_all`` is false (the default). Ot Raises a ``speech_recognition.UnknownValueError`` exception if the speech is unintelligible. Raises a ``speech_recognition.RequestError`` exception if the speech recognition operation failed, if the key isn't valid, or if there is no internet connection. -``recognizer_instance.recognize_whisper(audio_data: AudioData, model: str="base", show_dict: bool=False, load_options: Dict[Any, Any]=None, language:Optional[str]=None, translate:bool=False, **transcribe_options):`` ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +``recognizer_instance.recognize_whisper(audio_data: AudioData, model: str="base", show_dict: bool=False, load_options=None, **transcribe_options):`` +---------------------------------------------------------------------------------------------------------------------------------------------------- -.. autofunction:: speech_recognition.recognizers.whisper_local.recognize +.. autofunction:: speech_recognition.recognizers.whisper_local.whisper.recognize ``recognizer_instance.recognize_openai(audio_data: AudioData, model = "whisper-1", **kwargs)`` ---------------------------------------------------------------------------------------------- -.. autofunction:: speech_recognition.recognizers.openai.recognize +.. autofunction:: speech_recognition.recognizers.whisper_api.openai.recognize ``recognizer_instance.recognize_groq(audio_data: AudioData, model = "whisper-large-v3-turbo", **kwargs)`` --------------------------------------------------------------------------------------------------------- -.. autofunction:: speech_recognition.recognizers.groq.recognize +.. autofunction:: speech_recognition.recognizers.whisper_api.groq.recognize ``AudioSource`` ---------------