Skip to main content

SpeechKit

Implementation of Nuance SpeechKit SDK on Ionic

https://github.com/Shmarkus/cordova-plugin-nuance-speechkit

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-nuance-speechkit
$ npm install @ionic-native/speechkit
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { SpeechKit } from '@ionic-native/speechkit/ngx';
constructor(private speechkit: SpeechKit) { }
// find voice names that match language from: https://developer.nuance.com/public/index.php?task=supportedLanguages
this.speechkit.tts('Text to be read out loud', 'ENG-GBR', 'Serena').then(
(msg) => { console.log(msg); },
(err) => { console.log(err); }
);