Datasets:

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

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +1 -0
disrpt.py CHANGED
@@ -73,6 +73,7 @@ files = [
73
 
74
  def fix_mwe(sentence):
75
  mwe={}
 
76
  for i, x in enumerate(sentence['id']):
77
  if '-' in x:
78
  for a in x.split('-'):
 
73
 
74
  def fix_mwe(sentence):
75
  mwe={}
76
+ sentence['parent_mwe']=[]
77
  for i, x in enumerate(sentence['id']):
78
  if '-' in x:
79
  for a in x.split('-'):