lingbionlp commited on
Commit
78574a1
1 Parent(s): 3267b6f

Update src/ml_ner.py

Browse files
Files changed (1) hide show
  1. src/ml_ner.py +1 -1
src/ml_ner.py CHANGED
@@ -377,7 +377,7 @@ def score_filter(temp_entity, T=0.1):
377
 
378
  result_list=[]
379
  for i in range(0,len(temp_entity)):
380
- if float (temp_entity[i][-1])>T:
381
  result_list.append(temp_entity[i])
382
  return(result_list)
383
  def find_max_entity_nest(nest_list):
 
377
 
378
  result_list=[]
379
  for i in range(0,len(temp_entity)):
380
+ if float (temp_entity[i][-1])>=T:
381
  result_list.append(temp_entity[i])
382
  return(result_list)
383
  def find_max_entity_nest(nest_list):