필터 지우기
필터 지우기

How can speech be converted to text?

조회 수: 10 (최근 30일)
Ismat
Ismat 2023년 6월 2일
댓글: Govind KM 2023년 6월 2일
Here is the flowchart of my system: User speaks >> Speech to Text conversion >> Text is sent to chatGPT >> Process ends.
My question is regarding the "Speech to Text" block: Is the "Audio Toolbox" sufficient for this task, or is an external API like the Google Speech API also required?
Furthermore, does the "Audio Toolbox" support multiple languages, or is it limited to English only?

채택된 답변

Govind KM
Govind KM 2023년 6월 2일
Hi Ismat,
As per documentation, Audio Toolbox enables you to interface with third-party speech-to-text APIs from MATLAB, requiring extended Audio Toolbox functionality available from File Exchange, and one of the following APIs : Google Speech, IBM Watson Speech, Microsoft Azure Speech, or Amazon Transcribe (Amazon Transcribe requires R2022b or later).
Starting in MATLAB R2022b, you can use convert speech to text using a pretrained wav2vec 2.0 model that does not require access to an external API, and without needing to download extended Audio Toolbox functionality from File Exchange. Using the wav2vec2.0 model will require the Deep Learning Toolbox. You can also perform speech transcription interactively using the Signal Labeler app.
You can refer to these documentation links for further information on using these tools:
  댓글 수: 2
Ismat
Ismat 2023년 6월 2일
Thank you very much for your answer.
The wav2vec2.0 model requires both the Audio Toolbox and Deep Learning Toolbox, which is not an efficient way economically. As you know, each toolbox incurs additional expenses. However, I still have the same question.
  1. If I purchase the "Audio Toolbox," can I use the speech2text function?
  2. Do I need an external API if I buy a license for the "Audio Toolbox"?
Govind KM
Govind KM 2023년 6월 2일
If you purchase a license for the Audio Toolbox, you can use the speech2text function. However, the function requires a client object as an input argument, which is an interface to either the wav2vec2.0 model or any of the four external APIs mentioned above.
Hence, you will need either the wav2vec2.0 model or one of the four mentioned external APIs to use the speech2text function effectively.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Segmentation에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by