Work

การปรับปรุงระบบสกัด รวบรวมข้อมูล และสรุปเหตุการณ์น้ำท่วมจากข่าวออนไลน์ด้วยโมเดลภาษาขนาดใหญ่

Year: 2026
Type: article
Abstract: This research aims to enhance the efficiency of a semi-automated system for extracting, gathering, and spatially analyzing flood event data from online news in Thailand. It addresses the limitations of the previous system, which was built on Python and Named Entity Recognition (NER) techniques like WangchanBERTa model, which suffered from complexity in handling unstructured data and multi-step workflows. The proposed system leverages a JavaScript and Node.js-based architecture to manage web scraping tasks, integrated with n8n workflow automation as the user interface, and utilizes Gemini Flash 2.5 API (a Large Language Model: LLM) to process natural language, extract spatiotemporal entities (date, location, and province), summarize news content, and evaluate disaster severity levels. The system was evaluated using a dataset of 555 flood-related news articles from 2024. The experimental results demonstrated that the proposed system reduced the total processing time from 1,125 seconds (19 minutes) to 788 seconds (13 minutes), indicating a 29.95% reduction in computation time. In terms of data quality, the LLM exhibited higher extraction accuracy than the traditional NER, successfully handling complex sentence structures, resolving linguistic ambiguities, and capturing additional dimensions such as severity ratings that the previous system could not classify. The findings suggest that the redesigned system offers superior development flexibility and cross-platform integration, facilitating high-quality data preparation for heatmaps and policy-level spatial analysis to support semi-real-time warning systems. Nevertheless, deploying this system at scale requires careful consideration of data privacy and security during external API calls, as well as the cost management of language model token consumption.
Language: Thai
Open Access status: diamond
OpenAlex ID: W7215528126
FWCI:
Cites: 6
Cited by:
Related to: 10