Created
July 20, 2016 07:52
-
-
Save LewisGet/8152f7b372af18e67cd8d634e5f801e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var recognition = new webkitSpeechRecognition(); | |
recognition.lang = "zh-TW"; | |
recognition.continuous = true; | |
recognition.interimResults = true; | |
recognition.onresult = function(event) { | |
console.log(event.results); | |
} | |
recognition.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment