Skip to content

Commit b102a52

Browse files
author
AJ (Ashitosh Jedhe)
committed
Revemo not required comment
1 parent f8a6017 commit b102a52

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

presidio-analyzer/presidio_analyzer/chunkers/base_chunker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ def deduplicate_overlapping_entities(
131131
pred_len = pred.end - pred.start
132132
kept_len = kept.end - kept.start
133133

134-
# Skip zero-length spans to avoid division by zero
135-
# and malformed data
136134
if pred_len <= 0 or kept_len <= 0:
137135
continue
138136

0 commit comments

Comments
 (0)