Spaces:
Sleeping
Sleeping
Commit
·
a6e4fbe
1
Parent(s):
51cb241
Update src/post_processing.py
Browse files- src/post_processing.py +1 -1
src/post_processing.py
CHANGED
@@ -8,7 +8,7 @@ Created on Thu Jun 18 20:08:30 2020
|
|
8 |
def combine_overlap(mention_list):
|
9 |
|
10 |
entity_list=[]
|
11 |
-
if len(mention_list)>
|
12 |
|
13 |
first_entity=mention_list[0]
|
14 |
nest_list=[first_entity]
|
|
|
8 |
def combine_overlap(mention_list):
|
9 |
|
10 |
entity_list=[]
|
11 |
+
if len(mention_list)>1:
|
12 |
|
13 |
first_entity=mention_list[0]
|
14 |
nest_list=[first_entity]
|