Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
sileod commited on
Commit
4857d85
1 Parent(s): 5500d07

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +1 -1
disrpt.py CHANGED
@@ -96,7 +96,7 @@ def parse_conll_stream(file_stream):
96
  continue
97
  if not line:
98
  if sentence['id']:
99
- yield fix_mwe(sentence)
100
  sentence = {name: [] for name in names}
101
  continue
102
  token_data = line.split('\t')
 
96
  continue
97
  if not line:
98
  if sentence['id']:
99
+ yield sentence
100
  sentence = {name: [] for name in names}
101
  continue
102
  token_data = line.split('\t')