alphacep / alphacep/vosk-api

[clarification] The offline kaldi decode with MBR method confidence and the VOSK output confidence score is different..

Open
#650 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

We have tried the following sequence of commands to get the MBR decode using Kaldi offline(not the Kaldi fork from alphacep).

Method 1:
```
lattice-to-ctm-conf --inv-acoustic-scale=12 --decode-mbr=true "ark:gunzip -c exp/MF/model/chain/tdnn_1g_aug/MF/lat.1.gz|" - | utils/int2sym.pl -f 5 data_hindi_rnnlm_combined_text/lang/words.txt > 1.ctm
```

Method 2:
```
lattice-align-words data_hindi_rnnlm_MF/lang/phones/word_boundary.int exp/MF/model/chain/tdnn_1g_aug/final.mdl "ark:gunzip -c exp/MF/model/chain/tdnn_1g_aug/MF/lat.1.gz|" ark:- | lattice-to-ctm-conf ark:- - | utils/int2sym.pl -f 5 data_hindi_rnnlm_combined_text/lang/words.txt > 1.ctm
```

In both cases, the confidence score obtained from VOSK and Kaldi is different. Is VOSK doing any extra operations on top of the normal Kaldi output?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.