Bug 251939 - [Meta][GTK][WPE] Implement SpeechRecognition API
Summary: [Meta][GTK][WPE] Implement SpeechRecognition API
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: ChangSeok Oh
URL:
Keywords:
Depends on: 260709
Blocks:
  Show dependency treegraph
 
Reported: 2023-02-08 11:55 PST by ChangSeok Oh
Modified: 2023-08-25 11:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ChangSeok Oh 2023-02-08 11:55:11 PST
I will explore and examine possibilities for bringing SpeechRecognition to the gtk/wpe port in this bug.
Comment 1 ChangSeok Oh 2023-08-23 12:13:02 PDT
My working branch is https://github.com/shivamidow/WebKit/tree/eng/prototype-speech-to-text-with-whisper.

It is close to being ready for review. For those who are interested, I leave build instructions.

Once you add my branch to your repo,

$ git submodule update --init
$ cd Source/ThirdParty/whisper.cpp
$ make base.en  # download language models, English only now.
$ cd ../../..
$ Tools/Script/build-webkit --gtk

Once webkit is built,
$ WEBKIT_WHISPER_MODEL_PATH=Source/ThirdParty/whisper.cpp/models Tools/Scripts/run-minibrowser --gtk https://www.google.com/intl/en/chrome/demos/speech.html

And enjoy!