Sinhala Text-to-SQL: A Hybrid Approach

dc.contributor.authorRefaideen, M
dc.contributor.authorKrishara, J
dc.date.accessioned2026-11-01T06:58:57Z
dc.date.issued2025-12-20
dc.description.abstractNatural 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.
dc.identifier.citationM. Refaideen and J. Krishara, "Sinhala Text-to-SQL: A Hybrid Approach," 2025 IEEE 17th International Conference on Computational Intelligence and Communication Networks (CICN), Goa, India, 2025, pp. 1533-1537, doi: 10.1109/CICN67655.2025.11367980.
dc.identifier.doidoi: 10.1109/CICN67655.2025.11367980
dc.identifier.isbn979-833158733-8
dc.identifier.urihttps://rda.sliit.lk/handle/123456789/5393
dc.language.isoen
dc.publisherInstitute of Electrical and Electronics Engineers Inc.
dc.relation.ispartofseries2025 17th IEEE International Conference on Computational Intelligence and Communication Networks, ; CICN 2025 Pages 1533 - 1537
dc.subjectHybrid NLIDB
dc.subjectNamed Entity Recognition (NER)
dc.subjectNatural Language Interface to Databases (NLIDB)
dc.subjectSinhala Natural Language Processing (NLP)
dc.subjectText-to-SQL Conversion
dc.titleSinhala Text-to-SQL: A Hybrid Approach
dc.typeConference Paper

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
Sinhala_Text-to-SQL_A_Hybrid_Approach.pdf
Size:
465.99 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.69 KB
Format:
Item-specific license agreed upon to submission
Description: