(Translated by https://www.hiragana.jp/)
GitHub - k2-fsa/kaldi-decoder: Decoders from Kaldi using OpenFst
Skip to content

k2-fsa/kaldi-decoder

Repository files navigation

Introduction

This repository ports the C++ decoder code from Kaldi using OpenFst without depending on Kaldi.

Usage

Please first install it using

pip install kaldi-decoder

and see the following examples about CTC decoding:

Description URL
Decoding with H https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/conformer_ctc/jit_pretrained_decode_with_H.py
Decoding with HL https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/conformer_ctc/jit_pretrained_decode_with_HL.py
Decoding with HLG https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/conformer_ctc/jit_pretrained_decode_with_HLG.py