> For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/ko-Kore/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/ko-Kore/llms-full.txt.

# Gukhanmun

> 國漢文混用體 韓國語를 한글 專用 텍스트로 變換하는 Rust/JavaScript/Python 라이브러리

[紹介](./guide/intro) | [CLI](./guide/cli/install) | [Rust](./guide/rust/install) | [JavaScript](./guide/javascript/install) | [Python](./guide/python/install)

## Features

- [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"/></svg> **漢字-한글 變換**](./guide/cli/start): 選擇的 《標準國語大辭典》 데이터와 함께, 漢字가 섞인 國漢文混用體 韓國語 텍스트를 한글 專用 出力으로 變換합니다.
- [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"/></svg> **多樣한 出力 形式**](./guide/cli/rendering): 平文 텍스트, HTML 조각(fragment), Markdown(CommonMark과 GFM)을 處理합니다. 한글 專用, 括弧 倂記, 루비(ruby) 마크업 렌더링 모드를 支援합니다.
- [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"/></svg> **使用者 定義 辭典**](./guide/cli/dictionary): 專門 用語를 다루기 爲하여, 公式 辭典 데이터와 더불어 FST나 CDB 形式의 分野別 語彙를 불러올 수 있습니다.
- [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"/></svg> **漢字別 指示**](./guide/cli/directives): 特定 文字나 글로브(glob) 패턴에 對하여, 인라인으로 또는 指示 파일을 通하여 倂記를 強制하거나 抑制합니다.
- [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"/></svg> **CLI, Rust, JavaScript, Python**](./guide/intro): 命令줄에서 使用하거나 Rust·Python에 內藏할 수 있으며, JavaScript는 브라우저·Node.js·Deno·Bun에서 實行합니다.
- [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"/></svg> **스트리밍 API**](./guide/javascript/streaming): Rust의 反復子(iterator) API로 文書를 漸進的으로 處理합니다. JavaScript의 <code>TransformStream</code>과 Python의 청크 인터페이스(interface)는 最終化 時까지 文書 全體를 버퍼에 모읍니다.
