This repository contains simple example scripts that can be used to filter Nominatim data dumps as created by Photon.
These filters can be used to create customised databases for the Photon geocoder. Simply add the filter script when unpacking the Nominatim dta dump like this:
zstdcat photon-dump-planet-1.0-latest.jsonl.zst \
| ./filter-by-address.sh city Paris \
| java -jar photon.jar import -import-file -All scripts are hereby put into the public domain.