mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
a correction for text2segmentation.py (#407)
This commit is contained in:
parent
1094a3cb37
commit
5079d99ee2
@ -61,8 +61,8 @@ def main():
|
|||||||
parser = get_parser()
|
parser = get_parser()
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
input_file = args.input
|
input_file = args.input_file
|
||||||
output_file = args.output
|
output_file = args.output_file
|
||||||
|
|
||||||
f = open(input_file, "r", encoding="utf-8")
|
f = open(input_file, "r", encoding="utf-8")
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user