emanuelaboros commited on
Commit
cc27132
·
verified ·
1 Parent(s): 640fe04

Update generic_ner.py

Browse files
Files changed (1) hide show
  1. generic_ner.py +1 -0
generic_ner.py CHANGED
@@ -113,6 +113,7 @@ def get_entities(tokens, tags, confidences, text):
113
  "end": entity_end_position,
114
  }
115
  )
 
116
  # assert (
117
  # text[entity_start_position:entity_end_position] == original_string
118
  # )
 
113
  "end": entity_end_position,
114
  }
115
  )
116
+ print(text[entity_start_position:entity_end_position], '-------', original_string)
117
  # assert (
118
  # text[entity_start_position:entity_end_position] == original_string
119
  # )