Browsing by Author "Refaideen, M"
Now showing 1 - 1 of 1
- Results Per Page
- Sort Options
Item Embargo Sinhala Text-to-SQL: A Hybrid Approach(Institute of Electrical and Electronics Engineers Inc., 2025-12-20) Refaideen, M; Krishara, JNatural Language Interface to Databases (NLIDB) enables users to access databases using their natural language. While significant research has been conducted on resource-rich languages such as English, other morphologically rich languages and low-resource languages such as Sinhala remain under-explored. Existing Sinhala NLIDB systems are mainly rule-based offering transparency but lacking flexibility with para-phrased or ambiguous input. This study presents a hybrid Sinhala NLIDB approach that is designed to bridge the gap by combining rule-based parsing with the statistical components such as Named Entity Recognition (NER) and Intent Classification. This system operates within a domain-restricted, single-table student schema supporting selection, aggregation, and data manipulation queries. Using 800 manually cleaned Sinhala query-SQL pairs, the system employs linguistic preprocessing that includes tokenization, stemming, POS tagging and lexical analysis to normalize input, followed by spaCy based custom NER model and TF-IDF based Intent Classification model to generate SQL queries. The hybrid design balances interpretability with adaptability and establishes a scalable framework for low-resource languages.
