Commit 59c2bd00 authored by Vandan Mujadia's avatar Vandan Mujadia

updated

parent 4828e323
......@@ -31,7 +31,7 @@ def read_file(path, isref=False):
_data_source = read_file(source_file)
_data_sys = [call_mt(text, 'hin', 'tel').replace('\n',' ') for text in tqdm(_data_source)]
_f = open(output_file, 'w')
_f = open(output_file, 'w', encoding="utf8")
for line in _data_sys:
_f.write(line+'\n')
print (line)
......
......@@ -31,7 +31,7 @@ def read_file(path, isref=False):
_data_source = read_file(source_file)
_data_sys = [call_mt(text, 'tel', 'hin').replace('\n',' ') for text in tqdm(_data_source)]
_f = open(output_file, 'w')
_f = open(output_file, 'w', encoding="utf8")
for line in _data_sys:
_f.write(line+'\n')
print (line)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment