Cordova Plugin for Microsoft Oxford Speech Recognition
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
www
README.md
plugin.xml

README.md

Cordova Plugin for Microsoft Project Oxford Speech Recognition

Project Oxford Speech Documentation URL: https://www.projectoxford.ai/doc/speech/overview

Note:

  • IOS version is on develop.

Installation

cordova plugin add https://github.com/faceach/com.projectoxford.cordova.speechrecognition.git

Code example

    var recognition = new OxfordSpeechRecognition({
        "lang": "zh-cn",
        "primaryKey": "<your subscription key>"
    });
    recognition.onresult = function(event) {
        if (event.result) {
            //...
        } else if (event.partial) {
            //...
        }
        
    };
    recognition.start();

© 2015 Microsoft