Downloads · 30 days
0
deshanksuman/SwaBhasha_Romanized_Sinhala2Sinhala
SwaBhasha_Romanized_Sinhala2Sinhala is a machine learning model from deshanksuman. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Mar 31, 2025
Repo size
398 MB
Likes
1
Public
Click a slice to open those files.
.pickle398 MB · 100%
From the Hugging Face model README
This Repo is about Romanized Sinhala to Sinhala Transliteration using the Ngram and Rule Base Model.
inputStr=input("Enter the input")
//You can call the triGramTranslate Function to get the expected result print(triGramTranslate(inputStr))
This model is capable of handling short-hand typing(Adhoc Transliteration).
eg Input: khmda Output : කොහොමද
If you are using this work: Kindly cite : T. G. D. K. Sumanathilaka, R. Weerasinghe and Y. H. P. P. Priyadarshana, "Swa-Bhasha: Romanized Sinhala to Sinhala Reverse Transliteration using a Hybrid Approach," 2023 3rd International Conference on Advanced Research in Computing (ICARC), Belihuloya, Sri Lanka, 2023, pp. 136-141, doi: 10.1109/ICARC57651.2023.10145648. keywords: {Terminology;Social networking (online);Computational modeling;Knowledge based systems;Message services;Data structures;Data models;Romanized Sinhala;Transliteration;Tri-gram;Rule-based;Prediction;Suggestion},
The datasets used can be accessed Through : https://github.com/Sumanathilaka/Swa-Bhasha-Sinhala-Singlish-Dataset
Paper [optional]: T. G. D. K. Sumanathilaka, R. Weerasinghe and Y. H. P. P. Priyadarshana, "Swa-Bhasha: Romanized Sinhala to Sinhala Reverse Transliteration using a Hybrid Approach," 2023 3rd International Conference on Advanced Research in Computing (ICARC), Belihuloya, Sri Lanka, 2023, pp. 136-141, doi: 10.1109/ICARC57651.2023.10145648. keywords: {Terminology;Social networking (online);Computational modeling;Knowledge based systems;Message services;Data structures;Data models;Romanized Sinhala;Transliteration;Tri-gram;Rule-based;Prediction;Suggestion},
Demo [optional]: https://youtu.be/w6kdIDzoov4
Romanized Sinhala to Sinhala Transliteration
Download all the files from the repo. You can open Transliterator.py file Call the function triGramTranslate(inputStr) with an input String in Romanized Sinhala.
Deshan Sumanathilaka