{'fraction_non_alphanumeric': 0.020032051282051284, 'fraction_numerical': 0.0, 'mean_word_length': 5.340101522842639, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Sinhala Natural Language Interface for Querying Databases Using Natural Language Processing

In this paper, the author presents SinSQLFinder, a Sinhala natural language user interface for generating SQL queries. Data is the heart of the decision-making process in every business, every organization, every government office. But at the same time working with data stored in the databases require special technical skills like Structured Query Language (SQL). It is an identical problem that the non-technical people are facing difficulties while retrieving data from the databases. In Sri Lanka, the native language of the majority of people is Sinhala and a considerable amount of e-governance applications use relational databases. Therefore, to manipulate data from such database applications easily, non-technical users who are more confident with the Sinhala language, need a solution to agree with a simple sentence in Sinhala and generate a valid SQL query. Nevertheless, the main goal of this research has been to establish a strong link between the Sinhala language and structured query language. Because of the language’s complexity, a unique method was developed to translate Sinhala language questions into structured query languages.