Story locations

Your task is to plot the place names mentioned in a given novel on a geographical map. Feeding in “Around the World in 80 days” should result in a plot of the journey across the globe.

Source texts are available e.g. at https://www.gutenberg.org/

A source of world city names and coordinates is https://download.geonames.org/export/dump/, for example the cities…zip series, including all cities with a population above a certain threshold.

Start with a simple command line tool, and build on from there. You could include

  • user interaction, together with automatic download of the chosen work from gutenberg.org

  • a web interface, using https://streamlit.io/

  • a more robust analysis looking at surrounding text, to try to distinguish the location of the plot from placenames that are just mentioned by a character

  • anything else you can think of