From a7cdd118846ec031c538e6ef1f8a7e1fbf0f53a9 Mon Sep 17 00:00:00 2001 From: Norman Wang Date: Sat, 7 Jan 2023 20:56:59 +1100 Subject: [PATCH] Fix the case insensitive issue for git --- .../LibriSpeech/fast_phone2unit/config.yaml | 2 +- .../fast_phone2unit/config_generate.yaml | 2 +- .../LibriSpeech/fast_phone2unit/dict.PHN.txt | 42 ------------------- .../{dict.phn.txt => dict.phn_1.txt} | 0 4 files changed, 2 insertions(+), 44 deletions(-) delete mode 100755 speechlm/dataset/LibriSpeech/fast_phone2unit/dict.PHN.txt rename speechlm/dataset/LibriSpeech/fast_phone2unit/{dict.phn.txt => dict.phn_1.txt} (100%) diff --git a/speechlm/dataset/LibriSpeech/fast_phone2unit/config.yaml b/speechlm/dataset/LibriSpeech/fast_phone2unit/config.yaml index eaec2ce86..eefeaa508 100755 --- a/speechlm/dataset/LibriSpeech/fast_phone2unit/config.yaml +++ b/speechlm/dataset/LibriSpeech/fast_phone2unit/config.yaml @@ -9,5 +9,5 @@ features: sample_rate: 16000 sample_rate: 16000 vocab_filename: dict.km.txt -src_vocab_filename: dict.phn.txt +src_vocab_filename: dict.phn_1.txt diff --git a/speechlm/dataset/LibriSpeech/fast_phone2unit/config_generate.yaml b/speechlm/dataset/LibriSpeech/fast_phone2unit/config_generate.yaml index 1d9fa7452..024cf4b8b 100755 --- a/speechlm/dataset/LibriSpeech/fast_phone2unit/config_generate.yaml +++ b/speechlm/dataset/LibriSpeech/fast_phone2unit/config_generate.yaml @@ -9,5 +9,5 @@ features: sample_rate: 16000 sample_rate: 16000 vocab_filename: dict.km.txt -src_vocab_filename: dict.PHN.txt +src_vocab_filename: dict.phn_2.txt diff --git a/speechlm/dataset/LibriSpeech/fast_phone2unit/dict.PHN.txt b/speechlm/dataset/LibriSpeech/fast_phone2unit/dict.PHN.txt deleted file mode 100755 index 60232ecf5..000000000 --- a/speechlm/dataset/LibriSpeech/fast_phone2unit/dict.PHN.txt +++ /dev/null @@ -1,42 +0,0 @@ -| 0 - 1 -' 2 -AA 3 -AE 4 -AH 5 -AO 6 -AW 7 -AY 8 -B 9 -CH 10 -D 11 -DH 12 -EH 13 -ER 14 -EY 15 -F 16 -G 17 -HH 18 -IH 19 -IY 20 -JH 21 -K 22 -L 23 -M 24 -N 25 -NG 26 -OW 27 -OY 28 -P 29 -R 30 -S 31 -SH 32 -T 33 -TH 34 -UH 35 -UW 36 -V 37 -W 38 -Y 39 -Z 40 -ZH 41 diff --git a/speechlm/dataset/LibriSpeech/fast_phone2unit/dict.phn.txt b/speechlm/dataset/LibriSpeech/fast_phone2unit/dict.phn_1.txt similarity index 100% rename from speechlm/dataset/LibriSpeech/fast_phone2unit/dict.phn.txt rename to speechlm/dataset/LibriSpeech/fast_phone2unit/dict.phn_1.txt