aboutsummaryrefslogtreecommitdiff
path: root/swr2_asr/utils/decoder.py
diff options
context:
space:
mode:
authorJoJoBarthold22023-09-16 15:23:56 +0200
committerJoJoBarthold22023-09-16 15:23:56 +0200
commit80544737bc4338bd0cde305b8bccb7c5209e1bdc (patch)
treed1ecd9681453b8ca75d281605778cb75462c0e2d /swr2_asr/utils/decoder.py
parentc46fecf9cf1110d286259ae2bc81eff3ed21cc23 (diff)
added a method to create a txt for the ctc decoder
Diffstat (limited to 'swr2_asr/utils/decoder.py')
-rw-r--r--swr2_asr/utils/decoder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/swr2_asr/utils/decoder.py b/swr2_asr/utils/decoder.py
index fcddb79..ef8de49 100644
--- a/swr2_asr/utils/decoder.py
+++ b/swr2_asr/utils/decoder.py
@@ -24,3 +24,4 @@ def greedy_decoder(output, labels, label_lengths, tokenizer: CharTokenizer, coll
# TODO: add beam search decoder
+