Update disrpt.py
Browse files
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('-'):
|