0.1.5 • Published 5 years ago

node-deepspeech v0.1.5

Weekly downloads
6
License
MPL-2.0
Repository
github
Last release
5 years ago

node-DeepSpeech npm

npm downloads

NPM

What is the node-DeepSpeech?

It started in Jan 23, 2019

this is component using node and morzilla/DeepSpeech.

💡 Motivation

No one made a valid repository for DeepSpeech and we made it.

🏃‍♀️🏃‍♂️QuickStart

1-1. If you want use in your project

$ yarn add node-deepspeech
// OR
$ npm install node-deepspeech

1-2. If you want use in local

// use HTTPS
$ git clone https://github.com/teamthesol/node-DeepSpeech.git
// Or use SSH
$ git clone git@github.com:teamthesol/node-DeepSpeech.git

2-1. if you have training models of deepspeech

Modify your training models directory name to 'models'. follow:

$ mv [your models name] [models name to be changed]

2-2 if you don't have training models of deepspeech, prepare files to be used in advance. follow:

$ npm run pre
  1. edit .env file follw:
Modify file name `.emv.sample's` to `.env`. this is use 'dotenv'.

Edit environment value 'DEEPSPEECH_MODEL_PATH' in `.env`. this is your 'models' path. 'models' is your trainint models. if you run `npm run pre`, edit like 'DEEPSPEECH_MODEL_PATH="./models'(this is only use in node-deepspeech).

but, if you don't want use 'dotenv', run `export DEEPSPEECH_MODEL_PATH="./your/models/path"` in terminal(bash, zsh, fish, etc).

4-1. If you want use in your project

write your project. Now the preparations that we can do are over!

4-2. If you want use in local

// run file-demo // or yarn file-demo
$ npm run file-demo
// run streaming-demo
$ npm run streaing demo // or yarn streaming-demo

🔧 Used Opensources

mozila deepspeech(MPL 2.0) node(MIT)

Script

TitleDescription
file-demorunnung demo using the file path.
streaming-demorunning demo using the microphone.
preinstall pre-information(audio sample, training models).

Development Environments

TitleDescriptionDefault
DEEPSPEECH_MODEL_PATHyour deepspeech 'models' path./models

Function

TitleDescriptionInput
dsBufferMozilla/Deepspeech function using the buffer data.buffer
dsFileMozilla/Deepspeech function using the file path.file path
dsStreamingMozilla/Deepspeech function using the microphone.emmiter(use new EventEmitter()

Usage

The best example of using our service is react-deepspeech.

How can I contribute to this project?

First, read the our contribution guideline. if you have read it, you can contribute to our project by creating issues or contribute to it in pull requests.

License

License

0.1.5

5 years ago

0.1.412

5 years ago

0.1.411

5 years ago

0.1.410

5 years ago

0.1.49

5 years ago

0.1.48

5 years ago

0.1.47

5 years ago

0.1.46

5 years ago

0.1.45

5 years ago

0.1.44

5 years ago

0.1.43

5 years ago

0.1.42

5 years ago

0.1.41

5 years ago

0.1.4

5 years ago

0.1.31

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago