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.

58 lines (55 loc) 2.79 kB
import { combineReducers } from 'redux'; import browserSupportedSpeechRecognition from './reducers/browserSupportedSpeechRecognition'; import enableTelemetry from './reducers/enableTelemetry'; import navPane from './reducers/navPane'; import onDemandAuthorizationToken from './reducers/onDemandAuthorizationToken'; import ponyfill from './reducers/ponyfill'; import ponyfillType from './reducers/ponyfillType'; import region from './reducers/region'; import speechRecognitionContinuous from './reducers/speechRecognitionContinuous'; import speechRecognitionDelayedStart from './reducers/speechRecognitionDelayedStart'; import speechRecognitionEndpointId from './reducers/speechRecognitionEndpointId'; import speechRecognitionEvents from './reducers/speechRecognitionEvents'; import speechRecognitionInterimResults from './reducers/speechRecognitionInterimResults'; import speechRecognitionLanguage from './reducers/speechRecognitionLanguage'; import speechRecognitionMaxAlternatives from './reducers/speechRecognitionMaxAlternatives'; import speechRecognitionPhrases from './reducers/speechRecognitionPhrases'; import speechRecognitionReferenceGrammars from './reducers/speechRecognitionReferenceGrammars'; import speechRecognitionStarted from './reducers/speechRecognitionStarted'; import speechRecognitionTextNormalization from './reducers/speechRecognitionTextNormalization'; import speechServicesAuthorizationToken from './reducers/speechServicesAuthorizationToken'; import speechServicesSubscriptionKey from './reducers/speechServicesSubscriptionKey'; import speechSynthesisDeploymentId from './reducers/speechSynthesisDeploymentId'; import speechSynthesisNativeVoices from './reducers/speechSynthesisNativeVoices'; import speechSynthesisOutputFormat from './reducers/speechSynthesisOutputFormat'; import speechSynthesisText from './reducers/speechSynthesisText'; import speechSynthesisUtterances from './reducers/speechSynthesisUtterances'; import speechSynthesisVoiceURI from './reducers/speechSynthesisVoiceURI'; export default combineReducers({ browserSupportedSpeechRecognition, enableTelemetry, navPane, onDemandAuthorizationToken, ponyfill, ponyfillType, region, speechRecognitionContinuous, speechRecognitionDelayedStart, speechRecognitionEndpointId, speechRecognitionEvents, speechRecognitionInterimResults, speechRecognitionLanguage, speechRecognitionMaxAlternatives, speechRecognitionPhrases, speechRecognitionReferenceGrammars, speechRecognitionStarted, speechRecognitionTextNormalization, speechServicesAuthorizationToken, speechServicesSubscriptionKey, speechSynthesisDeploymentId, speechSynthesisNativeVoices, speechSynthesisOutputFormat, speechSynthesisText, speechSynthesisUtterances, speechSynthesisVoiceURI });