Skip to content

Commit

Permalink
Update recognizer_registry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rgupta2508 authored Jan 9, 2025
1 parent 7aa0721 commit 4fc942a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ def get_recognizers(
all_possible_recognizers.extend(ad_hoc_recognizers)

for rec in all_possible_recognizers:
print(rec.supported_entities)
if type(rec.supported_entities) == list and len(rec.supported_entities) > 0:
all_entity_recognizers.update(dict.fromkeys(rec.supported_entities, rec))
elif type(rec.supported_entities) == str:
Expand Down

0 comments on commit 4fc942a

Please sign in to comment.