Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.26 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.26 KB

Speak IT App

This app is based on the Sample React App fot integration with the Azure Speech service by Azure-Samples.

Prerequisites

  1. This project assumes that you have an Azure account and Speech service subscription. If you don't have an account and subscription, try the Speech service for free.
  2. Ensure you have Node.js installed.

How to run the app

  1. Clone this repo, then change directory to the project root and run npm install to install dependencies.
  2. Run cp .env.example .env
  3. Add your Azure Speech key and region to the .env file, replacing the placeholder text.
  4. Run npm install
  5. To run the Express server and React app together, run npm run dev.

Change recognition language

To change the source recognition language, change the locale strings in App.js

speechConfig.speechRecognitionLanguage = 'en-US'

For a full list of supported locales, see the language support article.