cordova-plugin-nuance-speechkit

2.0.1 • Public • Published

cordova-plugin-nuance-speechkit

This is an implementation of Nuance SpeechKit (v2.1+) SDK in Cordova (6.2+).

Installation

First create an account in the Nuance Developers site. Then open your account and find the URL and App Key for your account. Include the plugin to your project using standard plugin add commands like

cordova plugin add cordova-plugin-nuance-speechkit --variable URL=[your URL here] --variable APP_KEY=[your App Key here]

IMPORTANT: It is not possible to use the plugin without these variables!

Next, add Ionic native binding

npm i -s @ionic-native/speechkit

Add SpeechKit to your module providers section and you are ready

Sample

Sample project of Text to speech (Ionic 2)

Find out which languages are supported and what language codes are used

Quirks

Building for iOS

This plugin uses cordova-plugin-cocoapod-support to download the SpeechKit SDK. When adding plugin outside Apple ecosystem, you have to include the SpeechKit manually.

  • Add cordova-plugin-nuance-speechkit as described in Installation chapter
  • Add iOS platform (it will warn you about missing cocoapod binary)
  • Copy iOS platform to a Mac device and open Xcode
  • Download iOS SDK from Nuance Developer website
  • Move the SpeechKit.framework from extracted archive to Xcode Frameworks section
  • Profit!

TO-DO

  • Speech to text impl (ASR)

Dependents (0)

Package Sidebar

Install

npm i cordova-plugin-nuance-speechkit

Weekly Downloads

2

Version

2.0.1

License

Apache 2.0

Unpacked Size

14.3 kB

Total Files

7

Last publish

Collaborators

  • shmarkus