mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
31 lines
1.1 KiB
Bash
Executable File
31 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
THIS=$(dirname "$0")
|
|
|
|
pushd ${THIS}
|
|
source ../tests.sh
|
|
|
|
npm install $(get_npm_package_url)
|
|
npm install
|
|
|
|
node ./index.js --audio $HOME/DeepSpeech/audio/2830-3980-0043.wav \
|
|
--lm $HOME/DeepSpeech/models/lm.binary \
|
|
--trie $HOME/DeepSpeech/models/trie \
|
|
--model $HOME/DeepSpeech/models/output_graph.pbmm \
|
|
--alphabet $HOME/DeepSpeech/models/alphabet.txt
|
|
|
|
node ./index.js --audio $HOME/DeepSpeech/audio/4507-16021-0012.wav \
|
|
--lm $HOME/DeepSpeech/models/lm.binary \
|
|
--trie $HOME/DeepSpeech/models/trie \
|
|
--model $HOME/DeepSpeech/models/output_graph.pbmm \
|
|
--alphabet $HOME/DeepSpeech/models/alphabet.txt
|
|
|
|
node ./index.js --audio $HOME/DeepSpeech/audio/8455-210777-0068.wav \
|
|
--lm $HOME/DeepSpeech/models/lm.binary \
|
|
--trie $HOME/DeepSpeech/models/trie \
|
|
--model $HOME/DeepSpeech/models/output_graph.pbmm \
|
|
--alphabet $HOME/DeepSpeech/models/alphabet.txt
|
|
popd
|