normalizeRomanUrdu
function normalizeRomanUrdu(text): string;Defined in: text.ts:48
Normalizes informal Roman Urdu spellings to common canonical forms.
Also applies normalizeText and converts Urdu/Arabic digits to English. A capitalized word keeps its capital; all-caps words (acronyms such as “AP”) are left unchanged.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
text |
string |
Roman Urdu input |
Returns
Section titled “Returns”string
Normalized Roman Urdu string