Revert "Merge pull request #74 from lissyx/rename-stt-repo"
This reverts commit70fbd3beb0
, reversing changes made toadde02be16
.
This commit is contained in:
Родитель
bf192485a9
Коммит
394c134b0c
|
@ -8,8 +8,8 @@ Android demo application that streams audio from the microphone to mozilla voice
|
||||||
|
|
||||||
Download the pre-trained English model and extract it:
|
Download the pre-trained English model and extract it:
|
||||||
```
|
```
|
||||||
curl -LO https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.tflite
|
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.tflite
|
||||||
curl -LO https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
```
|
```
|
||||||
|
|
||||||
Move the model files `deepspeech-0.8.0-models.pbmm`, `deepspeech-0.8.0-models.scorer`, to the demo application's data directory on your android device.
|
Move the model files `deepspeech-0.8.0-models.pbmm`, `deepspeech-0.8.0-models.scorer`, to the demo application's data directory on your android device.
|
||||||
|
|
|
@ -14,7 +14,7 @@ npm run rebuild
|
||||||
Download and extract audio files to `/public` directory
|
Download and extract audio files to `/public` directory
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.7.0/audio-0.7.0.tar.gz
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/audio-0.7.0.tar.gz
|
||||||
tar xfvz audio-0.7.0.tar.gz -C ./public/
|
tar xfvz audio-0.7.0.tar.gz -C ./public/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@ tar xfvz audio-0.7.0.tar.gz -C ./public/
|
||||||
```
|
```
|
||||||
mkdir models
|
mkdir models
|
||||||
cd models
|
cd models
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
cd ..
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ function getModel(appDataPath, callback) {
|
||||||
else {
|
else {
|
||||||
// if the model files do not exist, download and save them to AppData path
|
// if the model files do not exist, download and save them to AppData path
|
||||||
console.log('\nDOWNLOADING MODEL TO: '+appDataPath+'\n');
|
console.log('\nDOWNLOADING MODEL TO: '+appDataPath+'\n');
|
||||||
const downloadPath = 'https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models';
|
const downloadPath = 'https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models';
|
||||||
download(downloadPath+'.pbmm', modelPath, function() {
|
download(downloadPath+'.pbmm', modelPath, function() {
|
||||||
download(downloadPath+'.scorer', scorerPath, function() {
|
download(downloadPath+'.scorer', scorerPath, function() {
|
||||||
callback(createModel(modelPath, scorerPath));
|
callback(createModel(modelPath, scorerPath));
|
||||||
|
|
|
@ -31,7 +31,7 @@ node ./index.js --audio rtmp://<IP>:1935/live/teststream \
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
Real time streaming inference with Mozilla Voice STT's example audio ([audio-0.4.1.tar.gz](https://github.com/mozilla/STT/releases/download/v0.4.1/audio-0.4.1.tar.gz)).
|
Real time streaming inference with Mozilla Voice STT's example audio ([audio-0.4.1.tar.gz](https://github.com/mozilla/DeepSpeech/releases/download/v0.4.1/audio-0.4.1.tar.gz)).
|
||||||
```bash
|
```bash
|
||||||
node ./index.js --audio $HOME/audio/2830-3980-0043.wav \
|
node ./index.js --audio $HOME/audio/2830-3980-0043.wav \
|
||||||
--scorer $HOME/models/kenlm.scorer \
|
--scorer $HOME/models/kenlm.scorer \
|
||||||
|
|
|
@ -10,7 +10,7 @@ Interface to both the libs is provided through NIM code.
|
||||||
## PREREQUISITIES :
|
## PREREQUISITIES :
|
||||||
* ```libmozilla_voice_stt.so```
|
* ```libmozilla_voice_stt.so```
|
||||||
|
|
||||||
Go to the [releases](https://github.com/mozilla/STT/releases/tag/v0.8.0) page and download the native client package based on your OS and CPU architecture.
|
Go to the [releases](https://github.com/mozilla/DeepSpeech/releases/tag/v0.8.0) page and download the native client package based on your OS and CPU architecture.
|
||||||
|
|
||||||
Extract the ``libmozilla_voice_stt.so`` and put into the subdirectory depending on OS of native Client used.
|
Extract the ``libmozilla_voice_stt.so`` and put into the subdirectory depending on OS of native Client used.
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@ sudo apt-get install libasound2
|
||||||
2) Download the pre-trained Mozilla Voice STT english model (1089MB) and Scorer Package(~900MB):
|
2) Download the pre-trained Mozilla Voice STT english model (1089MB) and Scorer Package(~900MB):
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ Minimalistic example to demonstrate the Mozilla Voice STT streaming API in NIM.
|
||||||
2) Download the pre-trained Mozilla Voice STT english model (1089MB):
|
2) Download the pre-trained Mozilla Voice STT english model (1089MB):
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ either [sox](http://sox.sourceforge.net/) (Windows/Mac) or [arecord](http://alsa
|
||||||
2) Download the pre-trained Mozilla Voice STT english model (1089MB):
|
2) Download the pre-trained Mozilla Voice STT english model (1089MB):
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Dependency
|
#### Dependency
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
Download the pre-trained model (1.8GB):
|
Download the pre-trained model (1.8GB):
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit references to models path if necessary:
|
Edit references to models path if necessary:
|
||||||
|
@ -23,7 +23,7 @@ brew install sox
|
||||||
Download test audio files:
|
Download test audio files:
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/audio-0.8.0.tar.gz
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/audio-0.8.0.tar.gz
|
||||||
tar xfvz audio-0.8.0.tar.gz
|
tar xfvz audio-0.8.0.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ to a NodeJS server and transmitting the Mozilla Voice STT results back to the br
|
||||||
#### Download the pre-trained model (1.8GB):
|
#### Download the pre-trained model (1.8GB):
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.pbmm
|
||||||
wget https://github.com/mozilla/STT/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.8.0/deepspeech-0.8.0-models.scorer
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Install:
|
#### Install:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче