TymaaHammouda commited on
Commit
10cf1a1
·
1 Parent(s): 8bbccb7

Update entity index

Browse files
Files changed (1) hide show
  1. IBO_to_XML.py +1 -1
IBO_to_XML.py CHANGED
@@ -81,7 +81,7 @@ def sortTags(entities):
81
  # previous tags has same count of this tag, second will sort the tags and check if this tags is correct
82
  for temp_entities in entities:
83
  for entity in temp_entities[1]:
84
- tags = entity[1].split()
85
  for tag in tags:
86
  # if the counter is not 0 then, will complete
87
  if temp_counter != 0:
 
81
  # previous tags has same count of this tag, second will sort the tags and check if this tags is correct
82
  for temp_entities in entities:
83
  for entity in temp_entities[1]:
84
+ tags = entity.split()
85
  for tag in tags:
86
  # if the counter is not 0 then, will complete
87
  if temp_counter != 0: