Places / NER map alignment (TranscriptX ↔ Transcribe)¶
What TranscriptX does¶
Concern |
TX behaviour |
|---|---|
Place filter for maps |
|
Geocoder |
|
Rate limit / cap |
|
Cache |
|
Artifact |
Always writes |
UI |
Speakers → Locations (Folium iframe); per-speaker + ALL maps |
Privacy |
|
Provenance |
|
Legacy duplicate: core/geo_utils.py (thinner; NER does not use it). Prefer the
location_cache.py patterns.
What Transcribe does (aligned)¶
Concern |
Transcribe behaviour |
|---|---|
Place filter |
|
Geocoder |
stdlib Nominatim HTTP (same OSM API; no geopy hard dep) |
Rate limit / cap |
≥1.05s between live lookups; default cap 50, frequency-ranked |
Cache |
|
Artifact |
|
UI |
View → People & Places (People / Places + This notebook |
Privacy |
Opt-in checkbox (intentional divergence — place names leave the machine only when enabled) |
Provenance |
|
Intentional divergences (keep)¶
Opt-in geocoding — local-first honesty; TX defaults on.
No Folium / Playwright / geopy — keep UI deps thin;
st.mapis enough for notebook pins.Maps outside the NER module — Transcribe NER port explicitly removed speaker gates/maps/geocoding; places stay a services read-model over published NER.
FAC included — handwritten notebooks often name buildings/landmarks.
No speaker-scoped maps — page/notebook domain, not timed speakers.
Do not¶
Import TranscriptX at runtime.
Port Folium map generation into the NER analysis module.
Default network geocoding on without consent.