HazMiner code
Abstract
HazMiner is a multilingual paragraph-based text mining method designed to document the location, timing and impact of GH through language models from the regional to global scale. Here we present the code used in the HazMiner publication. Main code miner.py: contains the first steps of the HazMiner methodology for downloading articles from GDELT (GDELT, 2025) and extract their text extractor.py: contains all steps to filter and extract hazard related information from the paragraphs and to cluster paragraphs into hazard events Supporting code core.py: the core functions supporting the HazMiner code functions.py: other functions supporting the HazMiner code config.py: configuration of HazMiner More infromation on the HazMiner dataset More information on HazMiner:
Fields of Study & Subjects
Topic Modeling
Disaster Management and Resilience
Public Relations and Crisis Communication
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 4 February 2026
- Language
- EN