Skip to content

Instantly share code, notes, and snippets.

@mzaksana
Created August 15, 2021 17:30
Show Gist options
  • Save mzaksana/6a008235324bf917e75775d5106b5eb1 to your computer and use it in GitHub Desktop.
Save mzaksana/6a008235324bf917e75775d5106b5eb1 to your computer and use it in GitHub Desktop.
Example to online ASR using kaldi model
# Prepare kaldi exp to vosk model format. ! Unnecessary
# https://gist.github.com/mzaksana/83f673a2e0460f88c671c4f7f94dc0bb
online2-tcp-nnet3-decode-faster \
--verbose=1 \
--endpoint.silence-phones=1:2:3:4:5 \
--mfcc-config=model-android/conf/mfcc.conf \
--ivector-extraction-config=model-android/conf/ivector_extractor.conf \
model-android/am/final.mdl \
model-android/graph/HCLG.fst \
model-android/graph/words.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment