mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-26 12:50:56 -05:00
Typo fix added missing ":" after if condition (#1419)
This commit is contained in:
@@ -173,7 +173,7 @@ class TransformersRecognizer(EntityRecognizer):
|
||||
|
||||
for res in ner_results:
|
||||
res["entity_group"] = self.__check_label_transformer(res["entity_group"])
|
||||
if not res["entity_group"] or res["entity_group"] not in entities
|
||||
if not res["entity_group"] or res["entity_group"] not in entities:
|
||||
continue
|
||||
|
||||
if res["entity_group"] == self.id_entity_name:
|
||||
|
||||
Reference in New Issue
Block a user