Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
문자열을 초중종성 구조로 분해
decompose_hangul_string(text: str) -> list[tuple[str, object, object]]
from hangulpy import decompose_hangul_string print(decompose_hangul_string("값")) # [('ㄱ', ('ㅏ',), ('ㅂ', 'ㅅ'))] print(decompose_hangul_string("한글")) # [('ㅎ', ('ㅏ',), ('ㄴ',)), ('ㄱ', ('ㅡ',), ('ㄹ',))]