Commit 859edee10544998a9ebb724c1959e4c970a06358
1 parent
b8a3a13b
Minor preparator fix.
Showing
1 changed file
with
1 additions
and
1 deletions
preparator.py
@@ -171,7 +171,7 @@ def get_sets(mentions): | @@ -171,7 +171,7 @@ def get_sets(mentions): | ||
171 | for mention in mentions: | 171 | for mention in mentions: |
172 | if not mention.attrib['mention_head'] in POSSIBLE_HEADS: | 172 | if not mention.attrib['mention_head'] in POSSIBLE_HEADS: |
173 | all_mentions.append(mention.attrib['span']) | 173 | all_mentions.append(mention.attrib['span']) |
174 | - | 174 | + |
175 | set_id = mention.attrib['mention_group'] | 175 | set_id = mention.attrib['mention_group'] |
176 | if set_id == 'empty' or set_id == '' or mention.attrib['mention_head'] in POSSIBLE_HEADS: | 176 | if set_id == 'empty' or set_id == '' or mention.attrib['mention_head'] in POSSIBLE_HEADS: |
177 | pass | 177 | pass |