deepspeech
Nim bindings for mozilla's DeepSpeech model.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install deepspeech
choosenim install deepspeech
git clone https://gitlab.com/eagledot/nim-deepspeech
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| deepspeech | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/eagledot/nim-deepspeech |
|---|---|
| Homepage | https://gitlab.com/eagledot/nim-deepspeech |
| Registry Source | nimble_official |
README
Nim bindings for the Mozilla's DeepSpeech (v0.7.0) deep learning model.
Prerequisites:
-
Shared library
libdeepspeech.soforv0.7.0which you can get after downloading native client package from their releases page based on your cpu architecture and operating system and extracting it.Note: Native package would look like
native_client.amd64.cpu.win.tar.xzfor windows OS on a AMD64 CPU architecture.Note: This lib must be in your system's PATH or in the directory from where executable/binary is run from.
-
Pretrained Models and Scorer. Download them from their
releasespage as well which would look likedeepspeech-0.7.(0|1).models.pbmm/tfliteanddeepspeech-0.7.(0|1).scorer
Note:
.wavfiles or raw audio data withsingle channel,sampled at16Khzand having audio format asINT16 PCMare desired. Be sure to convert or resample data/audio according to above specifications if not already so.
Installation
$ nimble install deepspeech@0.7.0or$ nimble install https://gitlab.com/eagledot/nim-deepspeech@0.7.0$ nimble install https://gitlab.com/eagledot/nim-wav[optional if you need to read from or write to a.wavfile , needed to run examples]
Usage
import deepspeech
For more detailed usage see examples in ./examples/ directory.