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.
완성형 한글 음절에서 초중종성 추출
get_chosung(char: str) -> str | None
get_jungsung(char: str) -> str | None
get_jongsung(char: str) -> str | None
get_hangul_components(char: str) -> tuple[str, str, str] | None
from hangulpy import get_chosung, get_jungsung, get_jongsung, get_hangul_components print(get_chosung("강")) # ㄱ print(get_jungsung("강")) # ㅏ print(get_jongsung("강")) # ㅇ print(get_jongsung("가")) # "" print(get_hangul_components("한")) # ('ㅎ', 'ㅏ', 'ㄴ')