ajitrajasekharan commited on
Commit
4e4bcde
1 Parent(s): 4a56525

Update aggregate_server_json.py

Browse files
Files changed (1) hide show
  1. aggregate_server_json.py +1 -1
aggregate_server_json.py CHANGED
@@ -222,7 +222,7 @@ class AggregateNER:
222
 
223
  def check_if_entity_in_arr(self,entity,arr):
224
  for node in arr:
225
- if (entity == node["e"]):
226
  return True
227
  return False
228
 
222
 
223
  def check_if_entity_in_arr(self,entity,arr):
224
  for node in arr:
225
+ if (entity == node["e"].split('[')[0]):
226
  return True
227
  return False
228