From fca11ea2f93ef31d377c18de6c081275ec3b9ddd Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Fri, 27 Jan 2023 16:38:25 +0900 Subject: [PATCH] from local --- egs/librispeech/ASR/.prepare_4446.sh.swp | Bin 16384 -> 16384 bytes .../ASR/local/.prepare_vox_text.py.swp | Bin 12288 -> 12288 bytes egs/librispeech/ASR/local/prepare_vox_text.py | 3 ++- 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/.prepare_4446.sh.swp b/egs/librispeech/ASR/.prepare_4446.sh.swp index fcac937fbfb420e18d06c968f33dbf6334668ecb..d32cfe41d4992b740167abff1de1e4f689cb1778 100644 GIT binary patch delta 32 mcmZo@U~Fh$6iqS+^Ym4))H7fJ0s#hwkowEXGd7C8wg&)(*a+?b delta 32 mcmZo@U~Fh$6iqS+^Ym4))H7fJ0s#gF&-%;BRvSfM+XDcDp9qBj diff --git a/egs/librispeech/ASR/local/.prepare_vox_text.py.swp b/egs/librispeech/ASR/local/.prepare_vox_text.py.swp index 8911601c2aac57708ba2cdff08f7c63afd8a1c7e..b2ad3112c9ed0ff91989bffa3e4b72fc3e710538 100644 GIT binary patch delta 183 zcmWO0ArApz0LS4!C*HaDCJ@hdfz4)2@&SASiefiKvH1qv_z2f+rV6$exG0bm zGr=!B{Yl~^-W!vPY+&BL*Kwr`GE$TVVQF#or3((&VU7X%XrqEMK1Jz{8%{W4gB6w- op@$Y~@ZsR)Ne`T{#TrA@@pa|Uu~pM`?X&UA7ber$IL(^jAH1R>KL7v# delta 178 zcmWO0Jq`gu0EXeuPgJ{RHX4bBj8dYZq!I^k0n=#q61G-Q>@6fhGL0*!s8!q9gpNj{ z@D@-1WIppJYb!1!_HE)>B)uRjxjgB%)`gKSIAa5kC8p@Zp^maCJ#fPn2kfv#iUlSZ hp#y_&EPZgt5qqpKMgvT0dPbpV=TRsIziM6%+kg2SAVvTH diff --git a/egs/librispeech/ASR/local/prepare_vox_text.py b/egs/librispeech/ASR/local/prepare_vox_text.py index cc483bda3..82590d28c 100755 --- a/egs/librispeech/ASR/local/prepare_vox_text.py +++ b/egs/librispeech/ASR/local/prepare_vox_text.py @@ -1,6 +1,7 @@ import os import sys import re +import glob metafile = sys.argv[1] outdir = "texts" @@ -32,4 +33,4 @@ for string in strings: # Create a new text file with the filename and write text2 to it filename = os.path.join(save_dir, filename) with open(f"{filename}.txt", "w") as file: - file.write(text2) \ No newline at end of file + file.write(text2)