Digital Repository

Translate Sinhala Pseudocode to C# A Natural Language Processing Approach

Show simple item record

dc.contributor.author Senarathne, Pubudu C.
dc.date.accessioned 2024-02-15T04:21:27Z
dc.date.available 2024-02-15T04:21:27Z
dc.date.issued 2023
dc.identifier.citation Senarathne, Pubudu C. (2023) Translate Sinhala Pseudocode to C# A Natural Language Processing Approach. MSc. Dissertation, Informatics Institute of Technology en_US
dc.identifier.issn 20211185
dc.identifier.uri http://dlib.iit.ac.lk/xmlui/handle/123456789/1683
dc.description.abstract In the realm of software development and algorithm deployment, the contribution of automatic code generation is indispensable. In Sri Lanka, Sinhala is widely spoken and used in various domains, including education and research. However, the lack of tools for translating Sinhala pseudocode into programming languages like C# has been a significant obstacle in fostering local talent and promoting software development in the Sinhala language. This research contributes to the fields of natural language processing, machine translation by utilizing graph theory, compiler theory and code generation techniques. The developed application empowers Sinhala-speaking developers and students to express their ideas and algorithms in their native language while seamlessly generating executable C# code. This bridges the language barrier for them in using ACG tools while linking Sinhala and C# programming language as well. Evaluations were critical to ensuring the reliability of this translation. Using the BLEU metric, a score of 0.9056 was achieved for the translation accuracy across a set of sample translations. Furthermore, the heuristic engine introduced for suggesting improvements in the event of keyword mistypes demonstrated impressive figures with an accuracy of 96.31%, precision of 96.31%, recall of 100.00%, an F1 score of 98.12%, and a Top-3 Accuracy of 99.72%. Each translated code was also compiled and executed manually, boasting a success rate of 85%. These results validate the system's efficacy and precision. This study opens new possibilities for software development in the Sinhala language and promotes the growth of the local programming community. en_US
dc.language.iso en en_US
dc.publisher IIT en_US
dc.subject Automatic Code Generation en_US
dc.subject Graph theory en_US
dc.subject Compiler theory en_US
dc.title Translate Sinhala Pseudocode to C# A Natural Language Processing Approach en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search


Advanced Search

Browse

My Account