window.SpeechRecognition = window.SpeechRecognition || webkitSpeechRecognition;
const recognition = new SpeechRecognition();
recognition.lang = 'pt-br'
recognition.start()
recognition.addEventListener('result', onSpeak)
function onSpeak(e) {
consol.log(e)
}