From f6e6377d90aa4771bdae7c73364d7fe3ae6bf507 Mon Sep 17 00:00:00 2001 From: Pherkel Date: Mon, 18 Sep 2023 18:29:37 +0200 Subject: small lm fixes --- swr2_asr/utils/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swr2_asr/utils/data.py') diff --git a/swr2_asr/utils/data.py b/swr2_asr/utils/data.py index 74cd572..bb3233e 100644 --- a/swr2_asr/utils/data.py +++ b/swr2_asr/utils/data.py @@ -360,4 +360,4 @@ def create_lexicon(vocab_counts_path, lexicon_path): file.write(f"{word} ") for char in word: file.write(char + " ") - file.write("") + file.write("\n") -- cgit v1.2.3