Skip to content

Instantly share code, notes, and snippets.

@edobashira
Created Aug 8, 2012
Embed
What would you like to do?
Kaldi bash completions
_sgmm2-gselect()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --diag-gmm-nbest --full-gmm-nbest --help --print-args --verbose --write-likes"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-gselect sgmm2-gselect
_sgmm2-project()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --end-dim --help --print-args --start-dim --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-project sgmm2-project
_sgmm2-acc-stats2()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --gselect --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-acc-stats2 sgmm2-acc-stats2
_sgmm2-latgen-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --config --determinize-lattice --gselect --hash-ratio --help --lattice-beam --log-prune --max-active --max-arcs --max-loop --max-mem --print-args --prune-interval --spk-vecs --utt2spk --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-latgen-faster sgmm2-latgen-faster
_sgmm2-comp-prexform()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-comp-prexform sgmm2-comp-prexform
_sgmm2-est-fmllr()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--gselect --config --fmllr-bases-occ-scale --fmllr-iters --fmllr-min-count --fmllr-min-count-bases --fmllr-min-count-full --fmllr-num-bases --fmllr-step-iters --gselect --help --input-fmllr --print-args --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-est-fmllr sgmm2-est-fmllr
_sgmm2-acc-stats-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-acc-stats-gpost sgmm2-acc-stats-gpost
_sgmm2-post-to-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --gselect --help --print-args --spk-vecs --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-post-to-gpost sgmm2-post-to-gpost
_sgmm2-acc-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --gselect --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-acc-stats sgmm2-acc-stats
_sgmm2-est-ebw()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --cov-min-value --epsilon --help --lrate-m --lrate-n --lrate-sigma --lrate-u --lrate-v --lrate-w --max-cond --min-substate-weight --num-threads --print-args --tau-c --tau-m --tau-n --tau-sigma --tau-u --tau-v --tau-w --update-flags --verbose --write-flags"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-est-ebw sgmm2-est-ebw
_sgmm2-sum-accs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-sum-accs sgmm2-sum-accs
_sgmm2-init()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --init-from-sgmm --pdf-map --phn-space-dim --print-args --self-weight --spk-dep-weights --spk-space-dim --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-init sgmm2-init
_sgmm2-est-spkvecs-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --rand-prune --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-est-spkvecs-gpost sgmm2-est-spkvecs-gpost
_sgmm2-rescore-lattice()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --gselect --help --log-prune --old-acoustic-scale --print-args --spk-vecs --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-rescore-lattice sgmm2-rescore-lattice
_sgmm2-est()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --cov-diag-ratio --cov-floor --help --increase-phn-dim --increase-spk-dim --max-cond --max-cond-split --max-impr-u --min-count --num-threads --perturb-factor --power --print-args --remove-speaker-space --renormalize-n --renormalize-v --share-for-pdfs --spk-dep-weights --split-substates --tau-c --transition-floor --transition-min-count --update-flags --verbose --weight-projections-iters --write-flags --write-occs"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-est sgmm2-est
_sgmm2-est-spkvecs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --gselect --help --print-args --rand-prune --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-est-spkvecs sgmm2-est-spkvecs
_sgmm2-align-compiled()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --binary --config --gselect --help --log-prune --print-args --retry-beam --self-loop-scale --spk-vecs --transition-scale --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-align-compiled sgmm2-align-compiled
_sgmm2-copy()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-copy sgmm2-copy
_sgmm2-info()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --sgmm2-detailed --trans-detailed --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm2-info sgmm2-info
_fgmm-global-acc-stats-twofeats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --gselect --help --print-args --update-flags --verbose --weights"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-acc-stats-twofeats fgmm-global-acc-stats-twofeats
_fgmm-global-acc-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --gselect --help --print-args --update-flags --verbose --weights"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-acc-stats fgmm-global-acc-stats
_fgmm-global-mixdown()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --gselect --help --mixdown-target --num-pairs --power --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-mixdown fgmm-global-mixdown
_fgmm-gselect()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --gselect --help --n --print-args --verbose --write-likes"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-gselect fgmm-gselect
_fgmm-global-est()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --max-condition --min-gaussian-occupancy --min-gaussian-weight --mix-up --perturb-factor --print-args --remove-low-count-gaussians --update-flags --variance-floor --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-est fgmm-global-est
_fgmm-global-get-frame-likes()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --gselect --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-get-frame-likes fgmm-global-get-frame-likes
_fgmm-global-merge()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-merge fgmm-global-merge
_fgmm-global-to-gmm()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-to-gmm fgmm-global-to-gmm
_fgmm-global-sum-accs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-sum-accs fgmm-global-sum-accs
_fgmm-global-copy()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fgmm-global-copy fgmm-global-copy
_arpa2fst()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --natural-base --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _arpa2fst arpa2fst
_tied-full-gmm-init-model()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-init-model tied-full-gmm-init-model
_init-tied-codebooks()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --full --help --max-gauss --min-gauss --perturb --power --print-args --split-gaussians --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _init-tied-codebooks init-tied-codebooks
_tied-full-gmm-align-compiled()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --binary --config --gselect --help --print-args --retry-beam --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-align-compiled tied-full-gmm-align-compiled
_tied-diag-gmm-decode-simple()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --config --help --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-decode-simple tied-diag-gmm-decode-simple
_tied-full-gmm-init-mono()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-init-mono tied-full-gmm-init-mono
_full-to-diag()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _full-to-diag full-to-diag
_tied-diag-gmm-est()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --interpolate-means --interpolate-variances --interpolate-weights --interpolation-weight --min-gaussian-occupancy --min-gaussian-weight --min-tied-gaussian-occupancy --min-tied-gaussian-weight --min-variance --print-args --remove-low-count-gaussians --share-for-pdfs --transition-floor --transition-min-count --update-flags --verbose --write-occs"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-est tied-diag-gmm-est
_smooth-stats-diag()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --preserve-counts --print-args --print-diversity --tau --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _smooth-stats-diag smooth-stats-diag
_tied-full-gmm-acc-stats-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-acc-stats-ali tied-full-gmm-acc-stats-ali
_tied-full-gmm-decode-simple()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --config --help --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-decode-simple tied-full-gmm-decode-simple
_tied-diag-gmm-decode-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --config --hash-ratio --help --max-active --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-decode-faster tied-diag-gmm-decode-faster
_tied-diag-gmm-acc-stats-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-acc-stats-ali tied-diag-gmm-acc-stats-ali
_tied-lbg()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --full --help --interim-em --max-gauss --min-gauss --min-gaussian-occupancy --min-gaussian-weight --min-variance --perturb --print-args --remove-low-count-gaussians --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-lbg tied-lbg
_tied-diag-gmm-init-mono()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-init-mono tied-diag-gmm-init-mono
_tied-diag-gmm-init-model()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-init-model tied-diag-gmm-init-model
_tied-full-gmm-est()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --interpolate-means --interpolate-variances --interpolate-weights --interpolation-weight --max-condition --min-gaussian-occupancy --min-gaussian-weight --min-tied-gaussian-occupancy --min-tied-gaussian-weight --print-args --remove-low-count-gaussians --share-for-pdfs --transition-floor --transition-min-count --update-flags --variance-floor --verbose --write-occs"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-est tied-full-gmm-est
_smooth-stats-full()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --preserve-counts --print-args --print-diversity --tau --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _smooth-stats-full smooth-stats-full
_tied-diag-gmm-align-compiled()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --binary --config --help --print-args --retry-beam --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-diag-gmm-align-compiled tied-diag-gmm-align-compiled
_tied-full-gmm-decode-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --config --hash-ratio --help --max-active --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _tied-full-gmm-decode-faster tied-full-gmm-decode-faster
_lattice-to-nbest()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --n --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-to-nbest lattice-to-nbest
_lattice-1best()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --lm-scale --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-1best lattice-1best
_nbest-to-lattice()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _nbest-to-lattice nbest-to-lattice
_lattice-copy-backoff()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-copy-backoff lattice-copy-backoff
_lattice-interp()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--alpha, --alpha --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-interp lattice-interp
_lattice-determinize-pruned()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --config --delta --help --max-arcs --max-loop --max-mem --max-states --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-determinize-pruned lattice-determinize-pruned
_lattice-to-phone-lattice()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --replace-words --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-to-phone-lattice lattice-to-phone-lattice
_lattice-copy()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose --write-compact"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-copy lattice-copy
_lattice-compose()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --phi-label --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-compose lattice-compose
_lattice-mbr-decode()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --lm-scale --one-best-times --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-mbr-decode lattice-mbr-decode
_lattice-boost-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--max-silence-error --b --config --help --max-silence --print-args --silence-phones --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-boost-ali lattice-boost-ali
_lattice-rmali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-rmali lattice-rmali
_lattice-word-align()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--wend-phones=3:7:11:15 --silence-label=2 --config --help --output-error-lats --partial-word-label --print-args --reorder --silence-has-olabels --silence-label --silence-may-be-word-internal --silence-phones --test --verbose --wbegin-and-end-phones --wbegin-phones --wend-phones --winternal-phones"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-word-align lattice-word-align
_lattice-add-trans-probs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-add-trans-probs lattice-add-trans-probs
_lattice-equivalent()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --delta --help --num-paths --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-equivalent lattice-equivalent
_lattice-project()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --project-output --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-project lattice-project
_lattice-to-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --lm-scale --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-to-post lattice-to-post
_lattice-oracle()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose --wildcard-symbols-list --word-symbol-table --write-lattices"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-oracle lattice-oracle
_lattice-to-ctm-conf()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --decode-mbr --frame-shift --help --lm-scale --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-to-ctm-conf lattice-to-ctm-conf
_lattice-difference()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-difference lattice-difference
_lattice-scale()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --acoustic2lm-scale --config --help --lm-scale --lm2acoustic-scale --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-scale lattice-scale
_lattice-determinize()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --beam-ratio --config --delta --help --max-loop --max-mem --num-loops --print-args --prune --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-determinize lattice-determinize
_lattice-align-words()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --output-error-lats --partial-word-label --print-args --reorder --silence-label --test --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-align-words lattice-align-words
_lattice-prune()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-prune lattice-prune
_nbest-to-linear()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _nbest-to-linear nbest-to-linear
_linear-to-nbest()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _linear-to-nbest linear-to-nbest
_lattice-to-fst()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --lm-scale --print-args --rm-eps --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-to-fst lattice-to-fst
_lattice-best-path()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --lm-scale --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-best-path lattice-best-path
_lattice-to-mpe-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --config --help --lm-scale --print-args --silence-phones --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-to-mpe-post lattice-to-mpe-post
_lattice-lmrescore()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --lm-scale --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-lmrescore lattice-lmrescore
_nbest-to-ctm()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--frame-length --config --frame-shift --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _nbest-to-ctm nbest-to-ctm
_lattice-union()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _lattice-union lattice-union
_nnet-train-xent-hardlab-perutt()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --cross-validate --feature-transform --help --l1-penalty --l2-penalty --learn-rate --momentum --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _nnet-train-xent-hardlab-perutt nnet-train-xent-hardlab-perutt
_rnnlm-train-perseq()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --bptt --config --cross-validate --help --l1-penalty --l2-penalty --learn-rate --min-seq-len --preserve-state --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _rnnlm-train-perseq rnnlm-train-perseq
_nnet-forward()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--apply-log --class-frame-counts --config --feature-transform --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _nnet-forward nnet-forward
_copy-matrix()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-matrix copy-matrix
_cluster-phones()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--central-position --config --context-width --help --mode --num-classes --pdf-class-list --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _cluster-phones cluster-phones
_acc-tree-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --ci-phones --config --context-width --help --print-args --var-floor --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _acc-tree-stats acc-tree-stats
_post-to-weights()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _post-to-weights post-to-weights
_copy-int-vector()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-int-vector copy-int-vector
_prons-to-wordali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --per-frame --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _prons-to-wordali prons-to-wordali
_convert-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --phone-map --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _convert-ali convert-ali
_rand-prune-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _rand-prune-post rand-prune-post
_sum-matrices()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sum-matrices sum-matrices
_copy-tree()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-tree copy-tree
_dot-weights()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _dot-weights dot-weights
_est-mllt()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _est-mllt est-mllt
_scale-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _scale-post scale-post
_hmm-info()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _hmm-info hmm-info
_decode-faster-mapped()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --binary --config --hash-ratio --help --max-active --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _decode-faster-mapped decode-faster-mapped
_compile-train-graphs-fsts()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--batch-size --config --help --print-args --read-disambig-syms --reorder --rm-eps --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _compile-train-graphs-fsts compile-train-graphs-fsts
_copy-int-vector-vector()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-int-vector-vector copy-int-vector-vector
_decode-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --beam-delta --binary --config --hash-ratio --help --max-active --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _decode-faster decode-faster
_compile-train-graphs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--batch-size --config --help --print-args --read-disambig-syms --reorder --rm-eps --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _compile-train-graphs compile-train-graphs
_build-tree()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --cluster-thresh --config --context-width --help --max-leaves --print-args --thresh --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _build-tree build-tree
_est-lda()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --dim --help --print-args --verbose --write-full-matrix"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _est-lda est-lda
_make-ilabel-transducer()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --old-to-new-mapping --print-args --verbose --write-disambig-syms"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _make-ilabel-transducer make-ilabel-transducer
_reverse-weights()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --reverse --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _reverse-weights reverse-weights
_align-equal()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --read-disambig-syms --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _align-equal align-equal
_thresh-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --scale --threshold --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _thresh-post thresh-post
_build-tree-two-level()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --cluster-leaves --config --context-width --help --max-leaves-first --max-leaves-second --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _build-tree-two-level build-tree-two-level
_latgen-faster-mapped()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --config --determinize-lattice --hash-ratio --help --lattice-beam --max-active --max-arcs --max-loop --max-mem --print-args --prune-interval --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _latgen-faster-mapped latgen-faster-mapped
_scale-vecs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _scale-vecs scale-vecs
_get-silence-probs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --quantize --sil-prior --verbose --write-nonsil-probs"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _get-silence-probs get-silence-probs
_compute-mce-scale()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --mce-alpha --mce-beta --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _compute-mce-scale compute-mce-scale
_sum-tree-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sum-tree-stats sum-tree-stats
_copy-vector()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --change_dim --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-vector copy-vector
_align-mapped()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --config --help --print-args --read-disambig-syms --reorder --retry-beam --rm-eps --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _align-mapped align-mapped
_compile-questions()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --config --context-width --help --num-iters-refine --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _compile-questions compile-questions
_phones-to-prons()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _phones-to-prons phones-to-prons
_sum-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --merge --print-args --scale1 --scale2 --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sum-post sum-post
_make-pdf-to-tid-transducer()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _make-pdf-to-tid-transducer make-pdf-to-tid-transducer
_weight-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _weight-post weight-post
_show-transitions()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _show-transitions show-transitions
_align-compiled-mapped()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --binary --config --help --print-args --retry-beam --self-loop-scale --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _align-compiled-mapped align-compiled-mapped
_ali-to-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _ali-to-post ali-to-post
_draw-tree()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --gen-html --help --print-args --query --use-tooltips --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _draw-tree draw-tree
_make-h-transducer()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --disambig-syms-out --help --print-args --push-delta --push-weights --reverse --transition-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _make-h-transducer make-h-transducer
_weight-silence-post()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _weight-silence-post weight-silence-post
_copy-gselect()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --n --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-gselect copy-gselect
_compute-wer()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --mode --print-args --text --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _compute-wer compute-wer
_align-equal-compiled()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _align-equal-compiled align-equal-compiled
_post-to-tacc()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _post-to-tacc post-to-tacc
_ali-to-phones()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --per-frame --print-args --verbose --write-lengths"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _ali-to-phones ali-to-phones
_add-self-loops()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --disambig-syms --help --print-args --reorder --self-loop-scale --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _add-self-loops add-self-loops
_show-alignments()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _show-alignments show-alignments
_acc-lda()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --rand-prune --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _acc-lda acc-lda
_copy-transition-model()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _copy-transition-model copy-transition-model
_decode-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --binary --config --hash-ratio --help --max-active --print-args --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _decode-faster decode-faster
_ali-to-pdf()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _ali-to-pdf ali-to-pdf
_fstpredeterminize()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --first-disambig --help --prefix --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstpredeterminize fstpredeterminize
_fstaddsubsequentialloop()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --delta --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstaddsubsequentialloop fstaddsubsequentialloop
_fstreorder()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--arc-sort --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstreorder fstreorder
_fstoptimize()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --delta --help --print-args --push-in-log --push-labels --push-weights --use-log --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstoptimize fstoptimize
_fstremoveuselessarcs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstremoveuselessarcs fstremoveuselessarcs
_fstdeterminizelog()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstdeterminizelog fstdeterminizelog
_fstrmsymbols()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --remove-from-output --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstrmsymbols fstrmsymbols
_fstdeterminizestar()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --delta --help --max-states --print-args --use-log --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstdeterminizestar fstdeterminizestar
_fstphicompose()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstphicompose fstphicompose
_fstisstochastic()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --delta --help --print-args --test-in-log --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstisstochastic fstisstochastic
_fstcopy()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstcopy fstcopy
_fstgetnextsymbol()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstgetnextsymbol fstgetnextsymbol
_fstmakecontextsyms()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --disambig-prefix --help --phone-separator --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstmakecontextsyms fstmakecontextsyms
_fstminimizeencoded()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --delta --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstminimizeencoded fstminimizeencoded
_fstfactor()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --push --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstfactor fstfactor
_fstaddselfloops()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstaddselfloops fstaddselfloops
_fstmakecontextfst()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --config --context-size --help --print-args --read-disambig-syms --verbose --write-disambig-syms"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstmakecontextfst fstmakecontextfst
_fstrmepslocal()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --stochastic-in-log --use-log --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstrmepslocal fstrmepslocal
_fsttablecompose()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--compose-filter --config --connect --help --match-side --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fsttablecompose fsttablecompose
_fstmakedisambigsyms()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstmakedisambigsyms fstmakedisambigsyms
_fstcomposecontext()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --config --context-size --help --print-args --read-disambig-syms --verbose --write-disambig-syms"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstcomposecontext fstcomposecontext
_fstpropfinal()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _fstpropfinal fstpropfinal
_sgmm-est()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --check-v --config --cov-diag-ratio --cov-floor --help --increase-phn-dim --increase-spk-dim --max-cond --max-cond-split --num-threads --perturb-factor --power --print-args --remove-speaker-space --renormalize-n --renormalize-v --share-for-pdfs --split-substates --tau-c --tau-vec --transition-floor --transition-min-count --update-flags --verbose --weight-projections-iters --write-flags --write-occs"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est sgmm-est
_sgmm-decode-faster-fmllr()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --beam-delta --config --diag-gmm-nbest --full-gmm-nbest --gselect --hash-ratio --help --log-prune --max-active --print-args --spk-vecs --utt2spk --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-decode-faster-fmllr sgmm-decode-faster-fmllr
_sgmm-decode-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --config --diag-gmm-nbest --full-gmm-nbest --gselect --hash-ratio --help --log-prune --max-active --print-args --spk-vecs --utt2spk --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-decode-faster sgmm-decode-faster
_sgmm-acc-tree-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --ci-phones --config --context-width --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --spk-vecs --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-acc-tree-stats sgmm-acc-tree-stats
_sgmm-est-multi()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --check-v --config --cov-diag-ratio --cov-floor --help --increase-phn-dim --increase-spk-dim --max-cond --max-cond-split --perturb-factor --power --print-args --remove-speaker-space --renormalize-n --renormalize-v --share-for-pdfs --split-substates --tau-c --tau-vec --transition-floor --transition-min-count --update-flags --verbose --weight-projections-iters --write-flags"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-multi sgmm-est-multi
_sgmm-acc-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-acc-stats sgmm-acc-stats
_sgmm-gselect()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --diag-gmm-nbest --full-gmm-nbest --help --preselect --print-args --verbose --write-likes"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-gselect sgmm-gselect
_sgmm-build-tree()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --central-position --cluster-thresh --config --context-width --help --max-leaves --print-args --thresh --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-build-tree sgmm-build-tree
_sgmm-comp-prexform()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-comp-prexform sgmm-comp-prexform
_sgmm-cluster-phones()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--central-position --config --context-width --help --mode --num-classes --pdf-class-list --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-cluster-phones sgmm-cluster-phones
_sgmm-est-fmllr()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --diag-gmm-nbest --fmllr-bases-occ-scale --fmllr-iters --fmllr-min-count --fmllr-min-count-bases --fmllr-min-count-full --fmllr-num-bases --fmllr-step-iters --full-gmm-nbest --gselect --help --input-fmllr --print-args --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-fmllr sgmm-est-fmllr
_sgmm-latgen-simple()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --config --determinize-lattice --diag-gmm-nbest --full-gmm-nbest --gselect --help --lattice-beam --log-prune --max-arcs --max-loop --max-mem --print-args --prune-interval --spk-vecs --utt2spk --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-latgen-simple sgmm-latgen-simple
_sgmm-init-from-tree-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-init-from-tree-stats sgmm-init-from-tree-stats
_sgmm-est-fmllrbasis()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --num-bases --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-fmllrbasis sgmm-est-fmllrbasis
_sgmm-acc-fmllrbasis-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --sil-phone-list --sil-weight --spk-vecs --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-acc-fmllrbasis-ali sgmm-acc-fmllrbasis-ali
_sgmm-post-to-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --spk-vecs --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-post-to-gpost sgmm-post-to-gpost
_sgmm-write-ubm()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-write-ubm sgmm-write-ubm
_sgmm-align()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --binary --config --diag-gmm-nbest --full-gmm-nbest --gselect --help --log-prune --print-args --reorder --retry-beam --self-loop-scale --spk-vecs --transition-scale --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-align sgmm-align
_sgmm-sum-accs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-sum-accs sgmm-sum-accs
_sgmm-acc-stats-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-acc-stats-ali sgmm-acc-stats-ali
_sgmm-est-spkvecs-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --rand-prune --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-spkvecs-gpost sgmm-est-spkvecs-gpost
_sgmm-copy()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-copy sgmm-copy
_init-ubm()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --cluster-varfloor --config --fullcov-ubm --help --intermediate-num-gauss --intermediate-numcomps --max-am-gauss --print-args --reduce-state-factor --ubm-num-gauss --ubm-numcomps --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _init-ubm init-ubm
_sgmm-init()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --init-from-sgmm --phn-space-dim --print-args --spk-space-dim --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-init sgmm-init
_sgmm-info()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --help --print-args --sgmm-detailed --trans-detailed --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-info sgmm-info
_sgmm-acc-stats-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-acc-stats-gpost sgmm-acc-stats-gpost
_sgmm-align-compiled()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --beam --binary --config --diag-gmm-nbest --full-gmm-nbest --gselect --help --log-prune --print-args --retry-beam --self-loop-scale --spk-vecs --transition-scale --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-align-compiled sgmm-align-compiled
_sgmm-normalize()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-normalize sgmm-normalize
_sgmm-est-fmllr-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --fmllr-bases-occ-scale --fmllr-iters --fmllr-min-count --fmllr-min-count-bases --fmllr-min-count-full --fmllr-num-bases --fmllr-step-iters --help --input-fmllr --print-args --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-fmllr-gpost sgmm-est-fmllr-gpost
_sgmm-mixup()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --increase-phn-dim --increase-spk-dim --max-cond-split --perturb-factor --power --print-args --read-occs --remove-speaker-space --split-substates --verbose --write-flags"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-mixup sgmm-mixup
_sgmm-rescore-lattice()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --diag-gmm-nbest --full-gmm-nbest --gselect --help --log-prune --old-acoustic-scale --print-args --spk-vecs --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-rescore-lattice sgmm-rescore-lattice
_sgmm-acc-stats2()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --rand-prune --spk-vecs --update-flags --utt2spk --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-acc-stats2 sgmm-acc-stats2
_sgmm-est-ebw()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --cov-min-value --epsilon --help --lrate-m --lrate-n --lrate-sigma --lrate-v --lrate-w --max-cond --min-substate-weight --num-threads --print-args --tau-c --tau-m --tau-n --tau-sigma --tau-v --tau-w --update-flags --verbose --write-flags"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-ebw sgmm-est-ebw
_sgmm-sum-tree-stats()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-sum-tree-stats sgmm-sum-tree-stats
_sgmm-est-spkvecs()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--config --diag-gmm-nbest --full-gmm-nbest --gselect --help --print-args --rand-prune --spk-vecs --spk2utt --spkvec-min-count --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-est-spkvecs sgmm-est-spkvecs
_sgmm-latgen-faster()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--acoustic-scale --allow-partial --beam --beam-delta --config --determinize-lattice --diag-gmm-nbest --full-gmm-nbest --gselect --hash-ratio --help --lattice-beam --log-prune --max-active --max-arcs --max-loop --max-mem --print-args --prune-interval --spk-vecs --utt2spk --verbose --word-symbol-table"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-latgen-faster sgmm-latgen-faster
_sgmm-calc-distances()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _sgmm-calc-distances sgmm-calc-distances
_gmm-acc-stats-ali()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _gmm-acc-stats-ali gmm-acc-stats-ali
_gmm-copy()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _gmm-copy gmm-copy
_gmm-et-est-a()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --learning-rate --print-args --renormalize --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _gmm-et-est-a gmm-et-est-a
_gmm-et-get-a()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --print-args --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _gmm-et-get-a gmm-et-get-a
_gmm-est-et()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"
fi
opts="--binary --config --help --normalize-type --print-args --spk2utt --verbose"
if [[ ${cur} == -* ]] ; then
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0
fi
}
complete -o default -o nospace -F _gmm-est-et gmm-est-et
_gmm-est-basis-fmllr-gpost()
{
local cur prev opts filters len pprev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if (( $COMP_CWORD > 2)) ; then
pprev="${COMP_WORDS[COMP_CWORD-2]}"
else
pprev="NULL"