Parses text tagged by the Stanford named entity recognizer in order to collect and analyze mentions of locations. Also incorporates the Google API in order to geocode those locations and, ultimately, mark them on a map.

This code was written in an IPython Notebook, so the code below is actually a collection of scattered code snippets. Please see the repository on github for full details and documentation, or the Methods Common recipe ( http://methodi.ca/recipes/mapping-locations-corpus ) for a step-by-step guide.

NOTE: Users will be required to acquire their own Google API key, store it in a text file, and then point the code to that text file. Instructions can be found in the IPython Notebook itself. Search for "api_key_file" to find the line in code that needs to be changed.