> ## Documentation Index
> Fetch the complete documentation index at: https://hangulpy.uiharu.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 자모 분해 (split_syllables, disassemble)

> 고수준 자모 분해 API

## split\_syllables

고수준 자모 분해 API입니다.

```python theme={null}
split_syllables(text: str, output_format: str = "list") -> list[str] | str
```

`output_format` 으로 `list` 또는 `string` 을 선택할 수 있습니다.

`output_format` 을 생략하면 기본값은 `list` 입니다.

## disassemble

`split_syllables` 의 별칭입니다.

```python theme={null}
disassemble(text: str, output_format: str = "list") -> list[str] | str
```

## 예시

```python theme={null}
from hangulpy import disassemble, split_syllables

print(split_syllables("한글"))  # ['ㅎ', 'ㅏ', 'ㄴ', 'ㄱ', 'ㅡ', 'ㄹ']
print(split_syllables("한글", output_format="string"))  # ㅎㅏㄴㄱㅡㄹ
print(disassemble("한글", output_format="string"))  # ㅎㅏㄴㄱㅡㄹ
```

## 같이 보기

* [join\_jamos / assemble](join-jamos)
