From 72c67b655200cfce29e48c645f530c94d467dfd5 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sun, 1 Oct 2023 13:49:57 +0800 Subject: [PATCH] update readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index ec88d2b..16d0257 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,22 @@ This repository ports the C++ decoder code from [Kaldi][Kaldi] using [OpenFst][OpenFst] without depending on [Kaldi][Kaldi]. +# Usage + +Please first install it using + +```bash +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| + [Kaldi]: https://github.com/kaldi-asr/kaldi [OpenFst]: https://www.openfst.org/ +