Skip to content

Commit

Permalink
Remove dbpedia false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 28, 2024
1 parent 9b1fc88 commit 20ce180
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -15653,10 +15653,15 @@ sub dbpedia
next RESULT;
}
} elsif(($uri =~ /(\d{3,4})s_deaths/)) {
if($yob > ($1 + 10)) {
if($yob > ($1 + 20)) {
# Born after the end of the decade this person died
next RESULT;
}
} elsif(($uri =~ /(\d{3,4})s_births/)) {
if($yob < ($1 - 20)) {
# Born sometime before the start of the decard this person was born
next RESULT;
}
} elsif($uri =~ /(\d\d)th-century_deaths/) {
my $c = ($1 + 1) * 100;
if($yob > $c) {
Expand Down

0 comments on commit 20ce180

Please sign in to comment.