Skip to content

Commit 1a49da8

Browse files
authored
Update person_and_id_anonymization.py
1 parent 4e1bedb commit 1a49da8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ac_dc/person_and_id_anonymization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def apply_anonymization(
3838
)
3939
ner = ner_ids + ner_persons
4040
if anonymize_condition:
41-
new_sentence, new_ner = augment_anonymize(sentence, lang_id, ner, )
41+
new_sentence, new_ner, _ = augment_anonymize(sentence, lang_id, ner, )
4242
doc = {'text': new_sentence, 'ner': new_ner, 'orig_text': sentence, 'orig_ner': ner}
4343
else:
4444
new_sentence = sentence

0 commit comments

Comments
 (0)