greek-text-utils
Version:
A collection of greek text utils, including conversion to ISO 843/ELOT 743, Greeklish, Phonetic Latin, and Transliterated Latin
20 lines • 1.08 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const diacriticsMap = [
{ find: 'άἀἁἂἃἄἅἆἇὰάᾀᾁᾂᾃᾄᾅᾆᾇᾰᾱᾲᾳᾴᾶᾷ', replace: 'α' },
{ find: 'ΆἈἉἊἋἌἍἎἏᾈᾉᾊᾋᾌᾍᾎᾏᾸᾹᾺΆᾼ', replace: 'Α' },
{ find: 'έἐἑἒἓἔἕὲέ', replace: 'ε' },
{ find: 'ΈἘἙἚἛἜἝ', replace: 'Ε' },
{ find: 'ήἠἡἢἣἤἥἦἧῆὴῇ', replace: 'η' },
{ find: 'ΉἨἩἪἫἬἭἮἯ', replace: 'Η' },
{ find: 'ίἰἱἲἳἴἵὶῖ', replace: 'ι' },
{ find: 'ΊἶἷἸἹἺἻἼἽἾἿ', replace: 'Ι' },
{ find: 'όὀὁὂὃὄὅὸ', replace: 'ο' },
{ find: 'ΌὈὉὊὋὌὍ', replace: 'Ο' },
{ find: 'ύὐὑὒὓὔὕὖὗ', replace: 'υ' },
{ find: 'ΎὙὛὝὟ', replace: 'Υ' },
{ find: 'ώὠὡὢὣὤὥὦὧῶ', replace: 'ω' },
{ find: 'ΏὨὩὪὫὬὭὮὯ', replace: 'Ω' },
];
exports.default = diacriticsMap;
//# sourceMappingURL=diacritics-map.js.map