DEV Community

Cover image for Speech Recognition with JavaScript

Speech Recognition with JavaScript

JoelBonetR πŸ₯‡ on August 22, 2022

Cover image credits: dribbble Some time ago, speech recognition API was added to the specs and we got partial support on Chrome, Safari, Baidu, an...
Collapse
 
venkatgadicherla profile image
venkatgadicherla

It's cool mate. Very good

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Thank you! πŸ€–

Collapse
 
venkatgadicherla profile image
venkatgadicherla

Can u add Telugu a Indian language:)

Thread Thread
 
joelbonetr profile image
JoelBonetR πŸ₯‡

I can try, do you know the IETF/ISO language code for it? 😁

Collapse
 
nngosoftware profile image
İbrahim Yaşar

This is really awesome. Could you please add the Turkish language? I would definitely like to try this in my native language and use it in my projects.

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Added! 😁

Collapse
 
nngosoftware profile image
İbrahim Yaşar

Thanks :)

Collapse
 
polterguy profile image
Thomas Hansen

Cool. I once created a speech based speech recognition thing based upon MySQL and SoundEx allowing me to create code by speaking through my headphones. It was based upon creating a hierarchical β€œmenu” where I could say β€œCreate button”. Then the machine would respond with β€œwhat button”, etc. The thing of course produced Hyperlambda though. I doubt it can be done without meta programming.

One thing that bothers me is that this was 5 years ago, and speech support has basically stood 100% perfectly still in all browsers since then … πŸ˜•

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡
One thing that bothers me is that this was 5 years ago, and speech support has basically stood 100% perfectly still in all browsers since then … πŸ˜•

Not in all of them, (e.g. Opera mini, FireFox mobile), it's a nice to have in browsers, specially targeting accessibility, but screen readers for blind people do the job and, on the other hand, most implementations for any other purpose send data to a backend using streams so they can process the incoming speech plus use the user feedback to train an IA among others and without hurting the performance.

...allowing me to create code by speaking through my headphones... ... I doubt it can be done without meta programming.

I agree on this. The concept "metaprogramming" is extense and covers different ways in which it can work (or be implemented) and from its own definition it is a building block for this kind of applications.

Collapse
 
mamsoares profile image
Marcelo Soares

Thank you πŸ™. I'd like that you put in Brazilian Portuguse too.

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Added both Portugal and Brazilian portuguese 😁

Collapse
 
samuelrivaldo profile image
Samuelrivaldo

Thanks you πŸ™. I'd like that you put in french too.

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Done! 😁

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Thank you! 😁

Collapse
 
symeon profile image
Symeon Sideris

Thank you very much for your useful article and implementation. Does it support Greek?
Have a nice (programming) day

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Hi Symeon, added support for Greek el-GR, try it out! πŸ˜ƒ

Collapse
 
arantisjr profile image
Arantis-jr

Cool 😎

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

I added support for some extra languages in the mean time 😁

Collapse
 
aheedkhan profile image
Aheed Tahir

Can you please add urdu language

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

Hi @aheedkhan I'm not maintaining this anymore but feel free to fork the pen! πŸ˜„