emanuelaboros commited on
Commit
edc7893
·
verified ·
1 Parent(s): 34f241e

Update generic_ner.py

Browse files
Files changed (1) hide show
  1. generic_ner.py +1 -0
generic_ner.py CHANGED
@@ -111,6 +111,7 @@ def get_entities(tokens, tags, confidences, text):
111
  "word": original_string,
112
  "start": entity_start_position,
113
  "end": entity_end_position,
 
114
  }
115
  )
116
  # assert (
 
111
  "word": original_string,
112
  "start": entity_start_position,
113
  "end": entity_end_position,
114
+ "text": text,
115
  }
116
  )
117
  # assert (