rajaatif786 commited on
Commit
14d0680
·
verified ·
1 Parent(s): e74748d

Update EntityExtractor.py

Browse files
Files changed (1) hide show
  1. EntityExtractor.py +1 -1
EntityExtractor.py CHANGED
@@ -106,7 +106,7 @@ def indices_for_entity_ranges(ranges):
106
  for t in range(start, start + max_e_len + 1)]
107
  for start, end in ranges])
108
  return indices
109
- import pickle4 as pickle
110
  #print(os.getcwd())
111
  open_file = open("./labels.pkl", "rb")
112
  LABELS = pickle.load(open_file)
 
106
  for t in range(start, start + max_e_len + 1)]
107
  for start, end in ranges])
108
  return indices
109
+ import pickle5 as pickle
110
  #print(os.getcwd())
111
  open_file = open("./labels.pkl", "rb")
112
  LABELS = pickle.load(open_file)