w-nicole commited on
Commit
9be07b2
1 Parent(s): e17fe34

corrected error

Browse files
Files changed (1) hide show
  1. childes_data.py +1 -1
childes_data.py CHANGED
@@ -99,7 +99,7 @@ class Childes(datasets.GeneratorBasedBuilder):
99
  def _generate_examples(self, file_path):
100
 
101
  with open(file_path, 'r') as f:
102
- for idx, line in enumerate(map(clean_text, f.readlines())):
103
  yield idx, {"text" : line}
104
 
105
 
 
99
  def _generate_examples(self, file_path):
100
 
101
  with open(file_path, 'r') as f:
102
+ for idx, line in enumerate(f.readlines()):
103
  yield idx, {"text" : line}
104
 
105