Module:Hangul/data
MyWikiBiz, Author Your Legacy — Friday December 27, 2024
Jump to navigationJump to searchDocumentation for this module may be created at Module:Hangul/data/doc
local data = {} -- Hangul Jamo block data.initials = { 'ᄀ', 'ᄁ', 'ᄂ', 'ᄃ', 'ᄄ', 'ᄅ', 'ᄆ', 'ᄇ', 'ᄈ', 'ᄉ', 'ᄊ', 'ᄋ', 'ᄌ', 'ᄍ', 'ᄎ', 'ᄏ', 'ᄐ', 'ᄑ', 'ᄒ', } data.medials = { 'ᅡ', 'ᅢ', 'ᅣ', 'ᅤ', 'ᅥ', 'ᅦ', 'ᅧ', 'ᅨ', 'ᅩ', 'ᅪ', 'ᅫ', 'ᅬ', 'ᅭ', 'ᅮ', 'ᅯ', 'ᅰ', 'ᅱ', 'ᅲ', 'ᅳ', 'ᅴ', 'ᅵ', } data.finals = { '', 'ᆨ', 'ᆩ', 'ᆪ', 'ᆫ', 'ᆬ', 'ᆭ', 'ᆮ', 'ᆯ', 'ᆰ', 'ᆱ', 'ᆲ', 'ᆳ', 'ᆴ', 'ᆵ', 'ᆶ', 'ᆷ', 'ᆸ', 'ᆹ', 'ᆺ', 'ᆻ', 'ᆼ', 'ᆽ', 'ᆾ', 'ᆿ', 'ᇀ', 'ᇁ', 'ᇂ', } -- Hangul Compatibility Jamo block data.independent_initials = { 'ㄱ', 'ㄲ', 'ㄴ', 'ㄷ', 'ㄸ', 'ㄹ', 'ㅁ', 'ㅂ', 'ㅃ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅉ', 'ㅊ', 'ㅋ', 'ㅌ', 'ㅍ', 'ㅎ', } data.independent_medials = { 'ㅏ', 'ㅐ', 'ㅑ', 'ㅒ', 'ㅓ', 'ㅔ', 'ㅕ', 'ㅖ', 'ㅗ', 'ㅘ', 'ㅙ', 'ㅚ', 'ㅛ', 'ㅜ', 'ㅝ', 'ㅞ', 'ㅟ', 'ㅠ', 'ㅡ', 'ㅢ', 'ㅣ', } data.independent_finals = { '', 'ㄱ', 'ㄲ', 'ㄳ', 'ㄴ', 'ㄵ', 'ㄶ', 'ㄷ', 'ㄹ', 'ㄺ', 'ㄻ', 'ㄼ', 'ㄽ', 'ㄾ', 'ㄿ', 'ㅀ', 'ㅁ', 'ㅂ', 'ㅄ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅊ', 'ㅋ', 'ㅌ', 'ㅍ', 'ㅎ', } ---- From [[wikt:Module:Unicode data]]. -- http://www.unicode.org/Public/UNIDATA/Jamo.txt data.leads = { [0] = "G", "GG", "N", "D", "DD", "R", "M", "B", "BB", "S", "SS", "", "J", "JJ", "C", "K", "T", "P", "H" } data.vowels = { [0] = "A", "AE", "YA", "YAE", "EO", "E", "YEO", "YE", "O", "WA", "WAE", "OE", "YO", "U", "WEO", "WE", "WI", "YU", "EU", "YI", "I" } data.trails = { [0] = "", "G", "GG", "GS", "N", "NJ", "NH", "D", "L", "LG", "LM", "LB", "LS", "LT", "LP", "LH", "M", "B", "BS", "S", "SS", "NG", "J", "C", "K", "T", "P", "H" } ---- Names of characters in Hangul Compatibility Jamo block, -- from [[wikt:Module:Unicode data/names/003]]. -- Add 0x3130 to the indices to get the actual codepoints. -- "HANGUL LETTER ", the prefix found in all the names, has been removed. data.names = { "KIYEOK", "SSANGKIYEOK", "KIYEOK-SIOS", "NIEUN", "NIEUN-CIEUC", "NIEUN-HIEUH", "TIKEUT", "SSANGTIKEUT", "RIEUL", "RIEUL-KIYEOK", "RIEUL-MIEUM", "RIEUL-PIEUP", "RIEUL-SIOS", "RIEUL-THIEUTH", "RIEUL-PHIEUPH", "RIEUL-HIEUH", "MIEUM", "PIEUP", "SSANGPIEUP", "PIEUP-SIOS", "SIOS", "SSANGSIOS", "IEUNG", "CIEUC", "SSANGCIEUC", "CHIEUCH", "KHIEUKH", "THIEUTH", "PHIEUPH", "HIEUH", "A", "AE", "YA", "YAE", "EO", "E", "YEO", "YE", "O", "WA", "WAE", "OE", "YO", "U", "WEO", "WE", "WI", "YU", "EU", "YI", "I", "HANGUL FILLER", "SSANGNIEUN", "NIEUN-TIKEUT", "NIEUN-SIOS", "NIEUN-PANSIOS", "RIEUL-KIYEOK-SIOS", "RIEUL-TIKEUT", "RIEUL-PIEUP-SIOS", "RIEUL-PANSIOS", "RIEUL-YEORINHIEUH", "MIEUM-PIEUP", "MIEUM-SIOS", "MIEUM-PANSIOS", "KAPYEOUNMIEUM", "PIEUP-KIYEOK", "PIEUP-TIKEUT", "PIEUP-SIOS-KIYEOK", "PIEUP-SIOS-TIKEUT", "PIEUP-CIEUC", "PIEUP-THIEUTH", "KAPYEOUNPIEUP", "KAPYEOUNSSANGPIEUP", "SIOS-KIYEOK", "SIOS-NIEUN", "SIOS-TIKEUT", "SIOS-PIEUP", "SIOS-CIEUC", "PANSIOS", "SSANGIEUNG", "YESIEUNG", "YESIEUNG-SIOS", "YESIEUNG-PANSIOS", "KAPYEOUNPHIEUPH", "SSANGHIEUH", "YEORINHIEUH", "YO-YA", "YO-YAE", "YO-I", "YU-YEO", "YU-YE", "YU-I", "ARAEA", "ARAEAE", } return data