a-alnaggar commited on
Commit
bbad79d
1 Parent(s): bbd3710

Update khatt-paragraphs.py

Browse files
Files changed (1) hide show
  1. khatt-paragraphs.py +1 -1
khatt-paragraphs.py CHANGED
@@ -65,5 +65,5 @@ class KhattPara(datasets.GeneratorBasedBuilder):
65
  def read_arabic_text_file(file_path):
66
  with open(file_path, 'r', encoding='windows-1256') as file:
67
  lines = file.readlines()
68
- return '\n'.join(lines)
69
 
 
65
  def read_arabic_text_file(file_path):
66
  with open(file_path, 'r', encoding='windows-1256') as file:
67
  lines = file.readlines()
68
+ return ''.join(lines)
69