/dialogue-systems-1-2023

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

DIALOGUE SYSTEMS 2023 (LT2216/LT2816)

Overview

You will have 5 labs:

TitleDeadline
1Lab I. DialogueTBA
2Lab II. Basic dialogue managementTBA
3Lab III. Speech synthesisTBA
4Lab IV. NLUTBA
5Lab V. Advanced dialogue managementTBA

How to run speechstate

Install NodeJS, yarn and the dependencies

Create Azure account and enable speech services

  1. Apply for free student credits https://azure.microsoft.com/en-us/free/students/. You should be able to login with your GU account.
  2. Make sure that you are logged into the Azure portal (https://portal.azure.com/).
  3. Create a Resource group (you can use search field):
    • Subscription: Azure for students
    • Resource group: any name
    • Region: (Europe) North Europe
  4. Create a Speech service:
    • Name: any name
    • Subscription: Azure for students
    • Location: (Europe) North Europe
    • Pricing tier: Free (F0)
    • Resource group: group name from the previous step
  5. Within your Speech Service go to: Resourse management → Keys and Endpoint and copy your KEY 1.

Configure your app

Modify the file static/index.html with desired Azure Key and app languages.

<div
  id="speechstate"
  data-azure-key="<your azure key>" 
  data-tts-voice="en-US"
  data-asr-language="en-US"
></div>

Run server

locally

with the command:

yarn start

deploy to github pages

with the command:

yarn deploy

Feedback