Open YoonaX opened 5 years ago
Hi,There is a bug in your code? File "./python\parallel_data_gen.py", line 602, in heads = [index + item[0] for index, item in enumerate(doc.to_array([HEAD]))] IndexError: invalid index to scalar variable. Could you tell me how to solve?Thanks
Hi,There is a bug in your code? File "./python\parallel_data_gen.py", line 602, in
heads = [index + item[0] for index, item in enumerate(doc.to_array([HEAD]))]
IndexError: invalid index to scalar variable.
Could you tell me how to solve?Thanks