Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kubrianity/speech-recognition

This is the web speech API project recognizing the user speech and converting it to text
https://github.com/kubrianity/speech-recognition

Last synced: 30 days ago
JSON representation

This is the web speech API project recognizing the user speech and converting it to text

Awesome Lists containing this project

README

        

# JavaScript 30 #20: speech-recognition
This is the web speech API project recognizing the user speech and converting it to text.

## Installation
Clone this repository with the following command
```
git clone https://github.com/Kubrianity/speech-recognition.git
```
Change directory to the cloned folder
```
cd speech-recognition
```
Make sure that node and npm installed globally on your machine
```
node -v // node version installed on your machine
npm -v // npm version installed on your machine
```
Now install project dependencies and then start with the following commands
```
npm install
npm start
```
You will be able to view the project at your server written in the command prompt
http://localhost:3000


*Make sure that the browser is given permission to access the microphone*.

### Usage & Features
Once speech is recognized, the 'result' event of Web Speech Api is fired with returning boolean value, which enables the function accessing transcript and returning it as a string.

Paragraph content will be populated with speech text and with each pause, it will start with a new line.