Skip to content

Instantly share code, notes, and snippets.

const _CATEGORY_NAMES = ['C', 'M', 'V', 'S', 'A', 'F', 'I', 'E', 'G', 'D', 'P', 'W'];
// Category's Unicode Code Point
const _CATEGORY_RANGE = [
['C', range(0x1021,0x1000)], // Consonants
['M', range(0x103E,0x103B)], // Medials
['V', range(0x1032,0x102B)], // Dependent Vowel Signs
['S', [0x1039]], // Myanmar Sign Virama
['A', [0x103A]], // Myanmar Sign Asat
['F', range(0x1038,0x1036)], // Dependent Various Signs