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.
타건 자모 기준 길이, 슬라이스, 입력 단계 계산
jamo_len(text: str) -> int
from hangulpy import jamo_len print(jamo_len("가과값")) # 9 print(jamo_len("👍🏽")) # 1
jamo_slice( text: str, start: Optional[int] = None, stop: Optional[int] = None, ) -> str
start
stop
from hangulpy import jamo_slice print(jamo_slice("가나", 0, 3)) # 가ㄴ print(jamo_slice("값", 0, 3)) # 갑 print(jamo_slice("가나", -2, None)) # 나
typing_steps(text: str) -> list[str]
from hangulpy import typing_steps print(typing_steps("값")) # ["ㄱ", "가", "갑", "값"] print(typing_steps("가나")) # ["ㄱ", "가", "가ㄴ", "가나"]