Skip to content

Speech recognition and subsequent speech evaluation, all driven by Microsoft Azure

License

Notifications You must be signed in to change notification settings

scraptechguy/SpeechCheck

Repository files navigation

AzureCup 2021 project - speech recognition and subsequent speech check

All links you might need are in the Links.md file. Issues I encountered on the way are in the corresponding file in the IssuesEncountered repo. :)

  • Note: Don't forget to input valid key, endpoint and region! (Only works with Microsoft Azure)

Table of contents

Running SpeechCheck on Windows 10

In Git BASH without cloning the repo

To run this yourself, review requirements.md file and do the following in terminal:

  pip install -r requirements.txt
  • Create a directory for SpeechCheck project
  $ mkdir /c/speechcheck
  • Then access the directory through terminal
  $ cd /c/speechcheck/

Output: abc@xyz MINGW64 /c/kivy

  • Download all required libraries.

  • Create and activate virtual enviroment for that directory.

  $ python -m venv virt

  $ source virt/Scripts/activate

(virt) should appear above

  • Then save Python file with copy pasted code as main.py into the kivy folder and run it by
  $ python main.py

[CRITICAL] unable to something

(Python and pip needs to be preinstalled)

You either haven't installed kivy yet. To fix that run

  $ pip install kivy

Or haven't activated virtual enviroment. Run

  $ cd /c/kivy/
  $ source virt/Scripts/activate

If still having trouble, try running

  $ pip uninstall kivy

  $ pip install kivy

  $ pip install docutils pygments pypiwin32 kivy.deps.sdl2

  $ pip install kivy.deps.glew

Running SpeechCheck on MacOS

Understand the code

  • Import of Azure Cognitive Services API libraries
from azure.core.credentials import AzureKeyCredential
from azure.ai.textanalytics import TextAnalyticsClient
import azure.cognitiveservices.speech as speechsdk

About

Speech recognition and subsequent speech evaluation, all driven by Microsoft Azure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages