Holding a hands-on workshop at SMU in a couple of weeks.
Have a collection of digitized books, music lyrics, letters, or articles, and want to visualize a map of all locations mentioned in the texts?
spaCy’s Named Entity Recognition (NER) function will identify all locations (LOC and GPE) and their frequencies. Geocoder will use the Bing Maps API to assign coordinates and help verify that the locations are indeed locations. Folium will create a leaflet.js interactive map of the verified and geocoded locations. Finally, just to drive the power of Python home, the script creates a word cloud, column chart, and treemap of the verified locations.