This commit is contained in:
Fangjun Kuang 2023-10-01 07:22:39 +08:00
parent 061143eb5d
commit 19dcbaca4a
6 changed files with 5 additions and 8 deletions

View File

@ -36,7 +36,6 @@ import logging
import math
from typing import Dict, List
import kaldi_hmm_gmm
import kaldifeat
import kaldifst
import torch

View File

@ -36,7 +36,6 @@ import logging
import math
from typing import Dict, List
import kaldi_hmm_gmm
import kaldifeat
import kaldifst
import torch

View File

@ -35,7 +35,6 @@ import logging
import math
from typing import Dict, List
import kaldi_hmm_gmm
import kaldifeat
import kaldifst
import torch

View File

@ -28,7 +28,7 @@ import kaldifeat
import kaldifst
import torch
import torchaudio
from kaldi_hmm_gmm import DecodableCtc, FasterDecoder, FasterDecoderOptions
from kaldi_decoder import DecodableCtc, FasterDecoder, FasterDecoderOptions
from torch.nn.utils.rnn import pad_sequence

View File

@ -28,7 +28,7 @@ import kaldifeat
import kaldifst
import torch
import torchaudio
from kaldi_hmm_gmm import DecodableCtc, FasterDecoder, FasterDecoderOptions
from kaldi_decoder import DecodableCtc, FasterDecoder, FasterDecoderOptions
from torch.nn.utils.rnn import pad_sequence

View File

@ -1,17 +1,17 @@
# Introduction
This folder uses [kaldifst][kaldifst] for graph construction
and decoders from [kaldi-hmm-gmm][kaldi-hmm-gmm] for CTC decoding.
and decoders from [kaldi-decoder][kaldi-decoder] for CTC decoding.
It supports only `CPU`.
You can use
```bash
pip install kaldifst kaldi-hmm-gmm
pip install kaldifst kaldi-decoder
```
to install the dependencies.
[kaldi-hmm-gmm]: https://github.com/csukuangfj/kaldi-hmm-gmm
[kaldi-decoder]: https://github.com/i2-fsa/kaldi-decoder
[kaldifst]: https://github.com/k2-fsa/kaldifst
[k2]: https://github.com/k2-fsa/k2