mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
0a071ecf27
commit
fca11ea2f9
Binary file not shown.
Binary file not shown.
@ -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)
|
||||
file.write(text2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user