{"id":20079697,"url":"https://github.com/mathquis/node-kaldi-online-nnet3-decoder","last_synced_at":"2025-05-05T23:30:39.653Z","repository":{"id":42232441,"uuid":"243493491","full_name":"mathquis/node-kaldi-online-nnet3-decoder","owner":"mathquis","description":"ASR online decoding using Kaldi NNet3 GrammarFST","archived":false,"fork":false,"pushed_at":"2023-07-11T18:28:59.000Z","size":318,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T16:02:43.288Z","etag":null,"topics":["asr","decoder","kaldi","nnet3","stt"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathquis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-27T10:34:33.000Z","updated_at":"2023-11-27T01:04:15.000Z","dependencies_parsed_at":"2022-09-06T06:40:08.551Z","dependency_job_id":null,"html_url":"https://github.com/mathquis/node-kaldi-online-nnet3-decoder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathquis%2Fnode-kaldi-online-nnet3-decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathquis%2Fnode-kaldi-online-nnet3-decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathquis%2Fnode-kaldi-online-nnet3-decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathquis%2Fnode-kaldi-online-nnet3-decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathquis","download_url":"https://codeload.github.com/mathquis/node-kaldi-online-nnet3-decoder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224472579,"owners_count":17317021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asr","decoder","kaldi","nnet3","stt"],"created_at":"2024-11-13T15:24:08.547Z","updated_at":"2024-11-13T15:24:11.615Z","avatar_url":"https://github.com/mathquis.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-kaldi-online-nnet3-decoder\n\nBe aware that the decoder is designed for Kaldi \"Grammar FST with on the fly parts\"\nhttps://kaldi-asr.org/doc/grammar.html\n\nThis module was put together for one of my side project. I'm not a C++ dev so it might not be perfectly functional.\n\nPull requests are welcome :)\n\n## Compiling from source\n\nA compiled version of Kaldi, OpenBLAS and OpenFST.\n\nSet environment variable `KALDI_PATH` to your Kaldi root directory\n\n### Windows\n\nRequires CMake and Visual Studio 2017+ for Windows installed\n\n- Download Kaldi source code from\n- Extract in `${KALDI_PATH}`\n\n#### Compiling OpenBlas with LAPACK (static)\n\nSee: https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio\n\n- In WSL 2 (debian)\n- Download OpenBlas source code from https://github.com/xianyi/OpenBLAS\n- Extract in `${KALDI_PATH}/tool/openblas`\n- `cd ${KALDI_PATH}/tool/openblas`\n- `make BINARY=64 HOSTCC=gcc CC=x86_64-w64-mingw32-gcc FC=x86_64-w64-mingw32-gfortran CFLAGS='-static-libgcc -static-libstdc++ -static -ggdb' FFLAGS='-static' \u0026\u0026 mv -f libopenblas.dll.a openblas.lib`\n\n\u003c!--\n#### Compiling OpenFST (static)\n\n- Download OpenFST for windows source code from https://github.com/kkm000/openfst.git\n- Extract in `${KALDI_PATH}/tool/openfst`\n- `CPPFLAGS=\"-DWINDOWS\" CXXFLAGS=\"-static -static-libgcc -static-libstdc++ -fexceptions -O2 -Wa,-mbig-obj\" ./configure --enable-static --enable-shared --enable-ngram-fsts -enable-far`\n- `make`\n--\u003e\n\n#### Compiling Kaldi (static AND shared)\n\n./configure --static --shared --use-cuda=no --mathlib=OPENBLAS\nmake -j \u003cNUM_CPU\u003e clean depend ; make biglib -j \u003cNUM_CPU\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathquis%2Fnode-kaldi-online-nnet3-decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathquis%2Fnode-kaldi-online-nnet3-decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathquis%2Fnode-kaldi-online-nnet3-decoder/lists"}