Traditional methods for assessing urban waterlogging hazards lack real-time efficiency. This study develops a rapid hazard assessment method for urban waterlogging events using social media data and large language models, with the urban waterlogging event in Guilin in 2024 as a case study. We constructed a keyword database for urban waterlogging, combined with web crawling techniques to collect related data from social media platforms. This study applied the BERT-BILSTM-CRF model, the GPT-3.5-turbo model, and the ERNIE-3.5-128K model to extract waterlogging locations, comparing them with the official waterlogging location data to validate and select the optimal model. The model was then used for urban waterlogging hazard assessment at the township scale. The results indicate that the establishment of a keyword database facilitates access to more social media data. The GPT-3.5-turbo model demonstrates superior performance in waterlogging location identification, with a coverage of 93% compared with the actual waterlogging locations, and an F1 score of 0.8066. During the Guilin 6.19 waterlogging, areas with high hazard intensities mainly concentrated in the city center; meanwhile, the hazard intensities of some townships in the suburbs intensified from 17 June to 21 June. This study validates the effectiveness and timeliness of using social media data and large language models for rapid hazard assessment of urban waterlogging events through practical cases, which can provide reliable support for future urban disaster prevention and reduction efforts.
The increasing complexity of multi-hazard disasters poses significant challenges to sustainable disaster risk governance. However, prevention and control measures are often scattered across heterogeneous and unstructured sources, limiting their systematic reuse and application. To address this issue, this study proposes a structured framework and data-driven analysis approach for organizing prevention and control measures in multi-hazard scenarios. By integrating multi-source information, a four-dimensional framework consisting of human, technical, engineering, and managerial measures was developed, together with a two-dimensional representation model incorporating disaster scenarios. Large language models (LLMs) were employed to automatically extract prevention and control measures from disaster-related documents and construct a multi-hazard prevention dataset. A case study of typhoon–hazardous chemical leakage scenarios yielded 1089 measurement records. Results show that managerial measures had the highest coverage (87.1%), while technical measures mainly focused on critical risk nodes such as leakage monitoring and automatic interlock control. Prevention and preparedness measures accounted for 67.4% of all records, reflecting a proactive risk-governance orientation. Strong associations were observed among the four categories of measures (Jaccard coefficient: 0.624–0.879). The proposed framework supports the structured representation, knowledge organization, and data-driven analysis of prevention and control measures, providing a foundation for sustainable disaster risk governance and resilient emergency management.