UNPKG

web-speech-profanity

Version:

Web Speech API adapter to use Cognitive Services Speech Services for both speech-to-text and text-to-speech service.

18 lines (15 loc) 334 B
// We are only importing what we need. import { AudioConfig, OutputFormat, ResultReason, SpeechConfig, SpeechRecognizer } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk'; export default { AudioConfig, OutputFormat, ResultReason, SpeechConfig, SpeechRecognizer };