Skip to content

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geographies of Holocaust Rescue on the Plateau Vivarais-Lignon

NLP project, using rules-based, deep learning, and AI, to understand space and place of Holocaust survivors and rescuers on the Plateau Vivarais-Lignon in France based on their personal testimonies. NOTE: Although I have created branches and sub-branches off the main for the different components of the project for future collaboration, please see the main branch and file directory folder structure for all files.

The Geoparsing component of this project has the Jupyter notebooks for the three different methods used, with folders for each: the Irchel Geoparser; LLM using GPT-4.1; and a rules-based spaCy Entity Ruler geoparsing structure. Also included in the folders are the yaml files indicating the libraries in the respective environments, as well as additional supporting files.

The Emotion Detection components of this project has the Jupyter notebooks for the two different methods used (Deep Learning and GPT-4.1), with the files marked "FinalCode_" being the last iterations, as well as the yaml files indicating the libraries in the respective environments, as well as additional supporting files and results. For the GPT-based method, I included all the different iterations of code, instruction prompts, and results so that folks can see the testing that went into this. The Deep Learning method used the Rules-Based Entity Ruler geoparser for extracting toponyms and non-named places for keywords. Rather than duplicating that code, please see the Geoparsing/RulesBased_EntityRulers folder for those files.

The integrated Spatial Social Network Analysis (SSNA)-----Landscape Metrics (LM) / Connectivity (LC) Analysis has Jupyter notebooks for: 1) social network detection using BookNLP, 2) converting nodes and edges to an event-based network for use with Cytoscape, 3) converting merged network exported from Cytoscape to a movement flow network, and 4) Quadratic Assignment Protocol - Negative Binomial regression as a script tool within ArcGIS Pro. The social network detection folder has raw outputs from BookNLP, the nodes and edges outputs from the script which builds these tables from BookNLP outputs, and the location keyword files, as well as the same for the evaluation of BookNLP accuracy using a smaller subcorpus. The SSNA folder has event-based nodes and edges files outputted from the script and used as input to Cytoscape, Cytoscape files for the different progression in networks, from initial to merged to movement flows, merge keys, and analysis outputs from Cytoscape. The Aerials folder has meta-data on the aerial photos used, GCP data, RMSE calculations, and Pix4D file. The Classification folder has the eCognition dpj and dpc files and stats on objects and accuracy. The LM and LC folders has the Fragstats file and outputs, then all the output tables from the different regressions run in ArcGIS. NOTE: the following is NOT included because of huge file sizes (the total project is many many GB!): Pix4D: raw aerial photos, step 1 outputs, densification, DSM, and ortho; eCognition: dpr files and all outputs; ArcGIS: project files, layers, feature classes, geodatabases, layouts, etc. etc.

NOTE: In no case are my data files uploaded. My data are part of three different archives of Holocaust testimonies and will not be publically available on this site.

The information here is available as open source under the attached MIT license. If using anything specific from my work, please attribute as appropriate: Anderson, Christopher (2025) https://github.com/nordicgeosolutions/HolocaustRescue-PlateauVivaraisLignon/.

The Python libraries (e.g. spaCy, Irchel Geoparser, OpenAI, etc.) are utilized based on their respective licenses. For my methodology of geoparsing using spaCy rules-based "Entity Rulers," I gratefully acknowledge that the spark of the idea for using entity rulers originates with: Mattingly, W. J. B. 2023. Introduction to Python for Digital Humanists. Boca Raton: CRC Press, Taylor & Francis Group.