ngramcount command not found

554 views
Skip to first unread message

Sravani Lekkala

unread,
Dec 16, 2021, 7:15:11 AM12/16/21
to kaldi-help
compile-graph.sh: line 15: ngram-count: command not found
+ ngram -order 4 -lm db/de.lm.gz -mix-lm data/extra.lm.gz -lambda 0.95 -write-lm data/de-mix.lm.gz
compile-graph.sh: line 16: ngram: command not found
+ ngram -order 4 -lm data/de-mix.lm.gz -prune 3e-8 -write-lm data/de-mixp.lm.gz
compile-graph.sh: line 17: ngram: command not found
+ ngram -lm data/de-mixp.lm.gz -write-lm data/de-mix-small.lm.gz
compile-graph.sh: line 18: ngram: command not found


i have installed srilm still getting same error.

in path also i have given proper path and all


export PATH=$PWD/utils:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/openfst-1.6.7/bin:$KALDI_ROOT/tools/srilm/lm/src:$KALDI_ROOT/src/fstbin:$KALDI_ROOT/src/gmmbin:$KALDI_ROOT/src/featbin:$KALDI_ROOT/src/lm:$KALDI_ROOT/src/sgmmbin:$KALDI_ROOT/src/sgmm2bin:$KALDI_ROOT/src/fgmmbin:$KALDI_ROOT/src/latbin:$KALDI_ROOT/src/nnetbin:$KALDI_ROOT/src/nnet2bin:$KALDI_ROOT/src/online2bin:$KALDI_ROOT/src/ivectorbin:$KALDI_ROOT/src/lmbin:$KALDI_ROOT/src/chainbin:$KALDI_ROOT/src/nnet3bin:$KALDI_ROOT/src/rnnlmbin:$PWD:$PATH:$KALDI_ROOT/tools/sph2pipe_v2.5
export PATH=$KALDI_ROOT/tools/ngram-1.3.7/src/bin:$PATH
export LD_LIBRARY_PATH=$KALDI_ROOT/tools/openfst/lib/fst/
export LC_ALL=C

Jan Yenda Trmal

unread,
Dec 20, 2021, 4:36:43 AM12/20/21
to kaldi-help
well, try to find it using the find command and cross-check against the path
I think either you didn't compile srilm or srilm is not on path
y.

--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/dc7805fa-4c82-4aac-85a0-bd13bd6baf3fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages