k2-fsa / kaldi-decoder

Decoders from Kaldi using OpenFst

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Decoders from Kaldi using OpenFst

License:Apache License 2.0


Languages

Language:C++ 87.8%Language:CMake 6.9%Language:Python 3.7%Language:Shell 1.6%