To extend the system to handle Singlish sentences or paragraphs, the system would need to incorporate natural language processing (NLP) techniques to analyze the context and structure of the input text. This would involve tokenizing the input text into individual words, identifying the grammatical structure, and understanding the relationships between words in the sentence or paragraph. Additionally, the system could utilize sequence-to-sequence models for machine translation to ensure accurate transliteration of longer text segments. By implementing these NLP techniques, the system can effectively handle Singlish sentences or paragraphs, providing accurate transliteration from Singlish to Sinhala at a larger text level.