Skip to content

Commit e6a1987

Browse files
Fixed false label in common code
1 parent e0b0408 commit e6a1987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extractors/personal_identifiers/location_extraction/code_snippet_common.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def example_integration():
3535
for text in texts:
3636
found = location_extraction(text, extraction_keyword)
3737
if found:
38-
print(f"text: \"{text}\" has {label} -> {found}")
38+
print(f"text: \"{text}\" has {extraction_keyword} -> {found}")
3939
else:
40-
print(f"text: \"{text}\" doesn't have {label}")
40+
print(f"text: \"{text}\" doesn't have {extraction_keyword}")
4141

4242
example_integration()
4343
```

0 commit comments

Comments
 (0)