Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
nshmyrev committed May 31, 2020
1 parent 9edf45b commit d631e56
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ nodejs/example/model
nodejs/example/test.wav
nodejs/node_modules
nodejs/package-lock.json
nodejs/build


20 changes: 20 additions & 0 deletions nodejs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Installation requires vosk-api checkout, it doesn't yet work with `npm
install vosk`. We have to figure out how to properly distribute native
modules for Vosk.

The build tested with node-0.10.15, node-0.12 is not yet supported by swig.

Still, you need swig of newest version 4.0.1

Build like this

```
npm install --kaldi_root=/home/suser/kaldi
```

Then test with

```
cd example
node test.js
```
2 changes: 1 addition & 1 deletion nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vosk",
"version": "0.3.7",
"version": "0.3.8",
"description": "Node binding for continuous voice recoginition through pocketsphinx.",
"repository": {
"type": "git",
Expand Down

0 comments on commit d631e56

Please sign in to comment.