Skip to content

Instantly share code, notes, and snippets.

@eliyas5044
Created June 8, 2020 03:53
Show Gist options
  • Save eliyas5044/8e4864a9b7ce08e71a286bcfe4648414 to your computer and use it in GitHub Desktop.
Save eliyas5044/8e4864a9b7ce08e71a286bcfe4648414 to your computer and use it in GitHub Desktop.
Phonetic mapping of Bengali to English.
<?php
return [
// Bengali (Bangla)
'bn' => [
'ভ্ল' => 'vl',
'পশ' => 'psh',
'ব্ধ' => 'bdh',
'ব্জ' => 'bj',
'ব্দ' => 'bd',
'ব্ব' => 'bb',
'ব্ল' => 'bl',
'ভ' => 'v',
'ব' => 'b',
'চ্ঞ' => 'cNG',
'চ্ছ' => 'cch',
'চ্চ' => 'cc',
'ছ' => 'ch',
'চ' => 'c',
'ধ্ন' => 'dhn',
'ধ্ম' => 'dhm',
'দ্ঘ' => 'dgh',
'দ্ধ' => 'ddh',
'দ্ভ' => 'dv',
'দ্ম' => 'dm',
'ড্ড' => 'DD',
'ঢ' => 'Dh',
'ধ' => 'dh',
'দ্গ' => 'dg',
'দ্দ' => 'dd',
'ড' => 'D',
'দ' => 'd',
'।' => '.',
'ঘ্ন' => 'Ghn',
'গ্ধ' => 'Gdh',
'গ্ণ' => 'GN',
'গ্ন' => 'Gn',
'গ্ম' => 'Gm',
'গ্ল' => 'Gl',
'জ্ঞ' => 'jNG',
'ঘ' => 'Gh',
'গ' => 'g',
'হ্ণ' => 'hN',
'হ্ন' => 'hn',
'হ্ম' => 'hm',
'হ্ল' => 'hl',
'হ' => 'h',
'জ্ঝ' => 'jjh',
'ঝ' => 'jh',
'জ্জ' => 'jj',
'জ' => 'j',
'ক্ষ্ণ' => 'kxN',
'ক্ষ্ম' => 'kxm',
'ক্ষ' => 'ksh',
'কশ' => 'ksh',
'ক্ক' => 'kk',
'ক্ট' => 'kT',
'ক্ত' => 'kt',
'ক্ল' => 'kl',
'ক্স' => 'ks',
'খ' => 'kh',
'ক' => 'k',
'ল্ভ' => 'lv',
'ল্ধ' => 'ldh',
'লখ' => 'lkh',
'লঘ' => 'lgh',
'লফ' => 'lph',
'ল্ক' => 'lk',
'ল্গ' => 'lg',
'ল্ট' => 'lT',
'ল্ড' => 'lD',
'ল্প' => 'lp',
'ল্ম' => 'lm',
'ল্ল' => 'll',
'ল্ব' => 'lb',
'ল' => 'l',
'ম্থ' => 'mth',
'ম্ফ' => 'mf',
'ম্ভ' => 'mv',
'মপ্ল' => 'mpl',
'ম্ন' => 'mn',
'ম্প' => 'mp',
'ম্ম' => 'mm',
'ম্ল' => 'ml',
'ম্ব' => 'mb',
'ম' => 'm',
'০' => 0,
'১' => 1,
'২' => 2,
'৩' => 3,
'৪' => 4,
'৫' => 5,
'৬' => 6,
'৭' => 7,
'৮' => 8,
'৯' => 9,
'ঙ্ক্ষ' => 'Ngkx',
'ঞ্ছ' => 'nch',
'ঙ্ঘ' => 'ngh',
'ঙ্খ' => 'nkh',
'ঞ্ঝ' => 'njh',
'ঙ্গৌ' => 'ngOU',
'ঙ্গৈ' => 'ngOI',
'ঞ্চ' => 'nc',
'ঙ্ক' => 'nk',
'ঙ্ষ' => 'Ngx',
'ঙ্গ' => 'ngo',
'ঙ্ম' => 'Ngm',
'ঞ্জ' => 'nj',
'ন্ধ' => 'ndh',
'ন্ঠ' => 'nTh',
'ণ্ঠ' => 'NTh',
'ন্থ' => 'nth',
'ঙ্গা' => 'nga',
'ঙ্গি' => 'ngi',
'ঙ্গী' => 'ngI',
'ঙ্গু' => 'ngu',
'ঙ্গূ' => 'ngU',
'ঙ্গে' => 'nge',
'ঙ্গো' => 'ngO',
'ণ্ঢ' => 'NDh',
'নশ' => 'nsh',
'ঙর' => 'Ngr',
'ঞর' => 'NGr',
'ংর' => 'ngr',
'ঙ' => 'Ng',
'ঞ' => 'NG',
'ং' => 'ng',
'ন্ন' => 'nn',
'ণ্ণ' => 'NN',
'ণ্ন' => 'Nn',
'ন্ম' => 'nm',
'ণ্ম' => 'Nm',
'ন্দ' => 'nd',
'ন্ট' => 'nT',
'ণ্ট' => 'NT',
'ন্ড' => 'nD',
'ণ্ড' => 'ND',
'ন্ত' => 'nt',
'ন্স' => 'ns',
'ন' => 'n',
'ণ' => 'N',
'ৈ' => 'OI',
'ৌ' => 'OU',
'ো' => 'O',
'ঐ' => 'OI',
'ঔ' => 'OU',
'অ' => 'o',
'ও' => 'oo',
'ফ্ল' => 'fl',
'প্ট' => 'pT',
'প্ত' => 'pt',
'প্ন' => 'pn',
'প্প' => 'pp',
'প্ল' => 'pl',
'প্স' => 'ps',
'ফ' => 'f',
'প' => 'p',
'ৃ' => 'rri',
'ঋ' => 'rri',
'রর‍্য' => 'rry',
'্র্য' => 'ry',
'্রর' => 'rr',
'ড়্গ' => 'Rg',
'ঢ়' => 'Rh',
'ড়' => 'R',
'র' => 'r',
'্র' => 'r',
'শ্ছ' => 'Sch',
'ষ্ঠ' => 'ShTh',
'ষ্ফ' => 'Shf',
'স্ক্ল' => 'skl',
'স্খ' => 'skh',
'স্থ' => 'sth',
'স্ফ' => 'sf',
'শ্চ' => 'Sc',
'শ্ত' => 'St',
'শ্ন' => 'Sn',
'শ্ম' => 'Sm',
'শ্ল' => 'Sl',
'ষ্ক' => 'Shk',
'ষ্ট' => 'ShT',
'ষ্ণ' => 'ShN',
'ষ্প' => 'Shp',
'ষ্ম' => 'Shm',
'স্প্ল' => 'spl',
'স্ক' => 'sk',
'স্ট' => 'sT',
'স্ত' => 'st',
'স্ন' => 'sn',
'স্প' => 'sp',
'স্ম' => 'sm',
'স্ল' => 'sl',
'শ' => 'S',
'ষ' => 'Sh',
'স' => 's',
'ু' => 'u',
'উ' => 'u',
'অ্য' => 'oZ',
'ত্থ' => 'tth',
'ৎ' => 'tt',
'ট্ট' => 'TT',
'ট্ম' => 'Tm',
'ঠ' => 'Th',
'ত্ন' => 'tn',
'ত্ম' => 'tm',
'থ' => 'th',
'ত্ত' => 'tt',
'ট' => 'T',
'ত' => 't',
'অ্যা' => 'AZ',
'া' => 'a',
'আ' => 'a',
'য়া' => 'ya',
'য়' => 'y',
'ি' => 'i',
'ই' => 'i',
'ী' => 'ee',
'ঈ' => 'ee',
'ূ' => 'uu',
'ঊ' => 'uu',
'ে' => 'e',
'এ' => 'e',
'য' => 'z',
'্য' => 'Z',
'ইয়' => 'y',
'ওয়' => 'w',
'্ব' => 'w',
'এক্স' => 'x',
'ঃ' => ':',
'ঁ' => 'nn',
'্‌' => '',
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment