hangulx
Version:
Providing various utilities for Hangul
32 lines (31 loc) • 724 B
JavaScript
// 자음군
var chars = [
"ㄳ",
"ㄵ",
"ㄶ",
"ㄺ",
"ㄻ",
"ㄼ",
"ㄽ",
"ㄾ",
"ㄿ",
"ㅀ",
"ㅄ",
];
export var clusterConsonants = chars;
export var clusterConsonantSet = new Set(chars);
export var clusterConsonantCharCodes = chars.map(function (char) { return char.charCodeAt(0); });
export var clusterConsonantCharCodeSet = new Set(clusterConsonantCharCodes);
export var clusterConsonantDisassembleMap = new Map([
["ㄳ", "ㄱㅅ"],
["ㄵ", "ㄴㅈ"],
["ㄶ", "ㄴㅎ"],
["ㄺ", "ㄹㄱ"],
["ㄻ", "ㄹㅁ"],
["ㄼ", "ㄹㅂ"],
["ㄽ", "ㄹㅅ"],
["ㄾ", "ㄹㅌ"],
["ㄿ", "ㄹㅍ"],
["ㅀ", "ㄹㅎ"],
["ㅄ", "ㅂㅅ"],
]);