Skip to content

Instantly share code, notes, and snippets.

View anubhavpulkit's full-sized avatar
🎯
Focusing

Anubhav Singh anubhavpulkit

🎯
Focusing
View GitHub Profile
@aryamanpuri
aryamanpuri / SpeechRecognition.js
Last active June 5, 2024 15:17
Speech Recognition using Web Speech API
import React, { Component } from "react"
//------------------------SPEECH RECOGNITION-----------------------------
const SpeechRecognition = SpeechRecognition || webkitSpeechRecognition
const recognition = new SpeechRecognition()
recognition.continous = true
recognition.interimResults = true
recognition.lang = 'en-US'