Introduction
Punjabi, spoken by over 110 million people primarily in Pakistan and India, faces a unique linguistic challenge. Despite sharing a common spoken language, the community is divided by two mutually incomprehensible writing systems: Shahmukhi and Gurmukhi. Shahmukhi, used in Pakistan, is a right-to-left cursive script derived from Arabic/Persian. Gurmukhi, used in India, is a left-to-right syllabic script. This "written communication gap" hinders the exchange of literature and information. This paper presents a rule-based Punjabi Machine Transliteration (PMT) system designed to bridge this gap with high phonetic and semantic accuracy.
System Architecture
The PMT system employs a rule-based approach rather than a statistical one, leveraging the shared phonetic repository of Punjabi as the bridge between scripts. The architecture consists of three primary stages: input parsing, a rules manager, and output generation.
The Input Text Parser breaks Shahmukhi text into individual word tokens. These tokens are then processed by the PMT Token Converter, which interacts with the PMT Rules Manager. This manager contains character mappings and dependency rules that handle context-sensitive linguistic features. Finally, the Output Text Generator reconstructs the processed tokens into Unicode-encoded Gurmukhi text.
Mapping Methodology
The core of the system lies in its ability to handle the orthographic asymmetries between the two scripts. Shahmukhi possesses 49 consonants compared to Gurmukhi's 38, necessitating complex many-to-one mappings.
As shown in the mapping table, several distinct Shahmukhi characters often map to a single Gurmukhi equivalent. For instance, the [s] sound represented by Seh (ث), Seen (س), and Suad (ص) in Shahmukhi all map to the Gurmukhi character 'ਸ'.
A critical component of the methodology is the handling of Aspirated Consonants. In Shahmukhi, these are represented by combining a base consonant with a specific "Heh" character (Do-chashmi heh). In contrast, Gurmukhi often utilizes dedicated, unique characters for these aspirated sounds. The system also relies heavily on diacritical marks (short vowels like Zabar, Zer, and Pesh) in the Shahmukhi input to resolve phonetic ambiguities that would otherwise lead to transliteration errors.
Evaluation and Results
The system was evaluated using a newly compiled 45,420-word corpus consisting of classical and modern Punjabi literature. The results demonstrated high accuracy across different genres:
- Classical Literature: Accuracy ranged from 98.21% to 98.95%, covering works by Baba Nanak and Waris Shah.
- Modern Literature: Achieved the highest accuracy of 99.39% using text from modern magazines.
- Overall Performance: The system maintained an average accuracy of 98.95%.
Conclusion
The PMT system successfully demonstrates that a rule-based approach can effectively bridge the scriptural divide in Punjabi. While highly accurate, the system's performance is currently dependent on the presence of diacritics in the input Shahmukhi text. Future work aims to provide bidirectional support (Gurmukhi to Shahmukhi) and integrate the system into cross-scriptural information retrieval tools.
Summary updated