omri374 commited on
Commit
10b96ad
1 Parent(s): 7172378

Upload 3 files

Browse files
transformers_rec/transformers_recognizer.py CHANGED
@@ -174,10 +174,7 @@ class TransformersRecognizer(EntityRecognizer):
174
  ner_results = self._get_ner_results_for_text(text)
175
 
176
  for res in ner_results:
177
- print(f"res: {res}")
178
  res["entity_group"] = self.__check_label_transformer(res["entity_group"])
179
- print(f"res[entity_group]: {res['entity_group']}")
180
- print("---")
181
  if not res["entity_group"]:
182
  continue
183
 
 
174
  ner_results = self._get_ner_results_for_text(text)
175
 
176
  for res in ner_results:
 
177
  res["entity_group"] = self.__check_label_transformer(res["entity_group"])
 
 
178
  if not res["entity_group"]:
179
  continue
180