Skip to content

Commit

Permalink
feat: add _lookup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WieeRd committed Feb 1, 2024
1 parent 59f2a8d commit 57ae214
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ricecake/_lookup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
JAMO_TO_COMPAT_JAMO = ['ㄱ', 'ㄲ', 'ㄴ', 'ㄷ', 'ㄸ', 'ㄹ', 'ㅁ', 'ㅂ', 'ㅃ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅉ', 'ㅊ', 'ㅋ', 'ㅌ', 'ㅍ', 'ㅎ', None, 'ㅥ', 'ㅦ', None, None, None, None, 'ㅀ', None, 'ㅮ', 'ㅱ', 'ㅲ', None, 'ㅳ', 'ㅄ', 'ㅴ', 'ㅵ', None, None, None, 'ㅶ', None, 'ㅷ', None, 'ㅸ', 'ㅹ', 'ㅺ', 'ㅻ', 'ㅼ', None, None, 'ㅽ', None, None, None, 'ㅾ', None, None, None, None, None, None, None, None, None, 'ㅿ', None, None, None, None, None, None, 'ㆀ', None, None, None, None, 'ㆁ', None, None, None, None, None, None, None, None, None, None, 'ㆄ', 'ㆅ', 'ㆆ', None, 'ㅧ', 'ㄵ', 'ㄶ', None, None, None, 'ㅏ', 'ㅐ', 'ㅑ', 'ㅒ', 'ㅓ', 'ㅔ', 'ㅕ', 'ㅖ', 'ㅗ', 'ㅘ', 'ㅙ', 'ㅚ', 'ㅛ', 'ㅜ', 'ㅝ', 'ㅞ', 'ㅟ', 'ㅠ', 'ㅡ', 'ㅢ', 'ㅣ', None, None, None, None, None, None, None, None, None, None, None, None, None, None, 'ㆇ', 'ㆈ', None, None, 'ㆉ', None, None, None, None, None, None, None, None, 'ㆊ', 'ㆋ', None, 'ㆌ', None, None, None, None, None, None, None, None, None, 'ㆍ', None, None, None, None, None, None, None, None, None, 'ㄱ', 'ㄲ', 'ㄳ', 'ㄴ', 'ㄵ', 'ㄶ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