Skip to content

Commit

Permalink
Typo fix added missing ":" after if condition (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjandsingh authored Jul 22, 2024
1 parent d46bacb commit d85ba6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def analyze(

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:
Expand Down

0 comments on commit d85ba6e

Please sign in to comment.