sileod commited on
Commit
27bda37
1 Parent(s): 2ba3399

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +1 -0
disrpt.py CHANGED
@@ -95,6 +95,7 @@ def parse_conll_stream(file_stream):
95
  line = line.strip()
96
  if line.startswith("#"):
97
  doc_id=line.split('=')[-1].strip()
 
98
  if not line:
99
  if sentence['id']:
100
  yield sentence
 
95
  line = line.strip()
96
  if line.startswith("#"):
97
  doc_id=line.split('=')[-1].strip()
98
+ continue
99
  if not line:
100
  if sentence['id']:
101
  yield sentence