Skip to content

Commit

Permalink
Use 'at' not 'on' for locations in halls
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 30, 2024
1 parent 20ce180 commit 192aa34
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -11678,10 +11678,16 @@ sub place
$rc->fr($place);
$rc->en("$address, " . $rc->en());
} elsif($on_road && ($address =~ /^[a-z]+\s+.*[a-z]+$/i)) {
# e.g on Appleby Street
$place = " on $address, $place";
if($address =~ /^The .+ Hall,/) {
# e.g. at The Salvation Army Hall
$place = " at $address, $place";
} else {
# e.g on Appleby Street
$place = " on $address, $place";
}
} else {
$place = " at $address, $place";
$rc->en(" at $address, " . $rc->en());
}
} elsif($params->{'nopreposition'}) {
$place = " $place";
Expand Down Expand Up @@ -15676,7 +15682,7 @@ sub dbpedia
}
}
}
warn ">>>>>>>>>> $uri" if($opts{'w'});
warn ">>>>>>>>>> dbpedia allowig possibility $uri" if($opts{'w'});
}
}
$Data::Dumper::Maxdepth = 0;
Expand Down

0 comments on commit 192aa34

Please sign in to comment.